Zone : Specify the combination of rooms and extensions. In other words we can say that the for one application or game generally we define one zone.
Extensions : These are the server side file which we use for the application.
|
Dremsus iPhone,Android,Unity3d,Flash,Flex Tutorials
|
AutoReloadExtensions : It is a Boolean value . By using it we can enable/disable the
auto-reload feature for extensions. For example the server will reload extensions
as soon as they are modified.
IpFilter : Â Here we specify the number of users that can be created by one single IP Address.
Mailer : Here we can set the email. The required thing is valid SMTP account.
MailHost :Â Here we specify the SMTP IP address or host name.
MailUser : Here we specify the SMTP username.
MailPass : Here we specify password.
SmtpPort: Here we specify the SMTP port number.
EnableZoneInfo : It is Boolean value . using feature Enable / disable we can know how many clients are connected through the server currently.
———————————————————————————————————-
Server side Config -Part-1
———————————————————————————————————-
Lets discuss now the Server side Config:
Here we can see many nodes in server side config XML . Let me explain each node and its working .
ServerIP : It specify the  IP address of server.
ServerPort : It specify the  Port of server.
AutoSendPolicyFile :  It is a Boolean value .If set to TRUE it allows SmartFoxServer to automatically generate a cross-domain policy file to enable Flash player 7 (7.0.19.0 or later) to connect outside the current domain.  This is used for  those   SWF files  which are  located in different domains.  We often get cross domain error while we try to connect with swf files which are in different domain. To avoid this we need to set it true.
MaxUserIdleTime : The time is expressed in seconds and it represents the maximum time allowed for an idle client. After that time, idle users are automatically disconnected by the server
MaxSocketIdleTime : it comes with the version 1.6.3 .It is an interval of seconds which represents the maximum time a connection can stay idle before the server forces the disconnection. The most important point with this is it is  valid only for client connections that still have to log in the server and create a User session. Once the user is logged in this parameter is ignored and the auto-disconnection will be according to the MaxUserIdleTime parameter.
MaxRoomVars : The maximum number of room variables that can be created in a single room.
MaxUserVars : The maximum number of user variables that can be created by a single user.
UserVarsOptimization : it comes with  the version 1.6.3. It allows to receive only real changes in user variables, avoiding variables that didn’t change to be retransmitted. It helps to improves bandwidth usage when many variables are being used.
Tags: auto-disconnection, automatically disconnected, AutoSendPolicyFile, config XML, cross domain error, cross-domain policy, domains, MaxRoomVars, MaxSocketIdleTime, MaxUserIdleTime, MaxUserIdleTime parameter, MaxUserVars, retransmitted, Server side Config, ServerIP, ServerPort, User session, user variables, UserVarsOptimization