SmartFoxServer Silverlight API
debug Field
NamespacesSmartFoxClientAPISmartFoxClientdebug
Toggle the client-side debugging informations.
When turned on, the developer is able to inspect all server messages that are sent and received by the client in the Flash authoring environment.
This allows a better debugging of the interaction with the server during application developement.
Declaration Syntax
C#Visual BasicVisual C++
public bool debug
Public debug As Boolean
public:
bool debug
Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to turn on SmartFoxServer API debugging.
CopyC#
SmartFoxClient smartFox = new SmartFoxClient();
bool runningLocally = true;

string ip;
int port;

if (runningLocally)
{
    smartFox.debug = true;
    ip = "127.0.0.1";
    port = 9339;
}
else
{
    smartFox.debug = false;
    ip = "100.101.102.103";
    port = 9333;
}

smartFox.Connect(ip, port);
See Also

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)