As a socket server, there are many settings that can be set up and tuned for the SmartFoxServer. Most of the settings are configured by the config.xml
file. This config.xml
is located in the SmartFoxServer installation directory under the Server
directory.
The configuration file is in XML format. XML is a plain text format that is usually used for describing a data structure and stores data inside.
The configuration
file is composed of two major parts: ServerSetup and Zones.
<ServerSetup>
contains many setting variables to configure and tune the server. <Zones>
define each application that runs on the SmartFoxServer.
The preceding diagram shows the overview structure of the configuration file visually. The whole configuration file is composed of two blocks: ServerSetup
and Zones.
Each of the blocks contain their settings.