SmartFoxServer Unity/.NET API
httpPort Field
NamespacesSmartFoxClientAPISmartFoxClienthttpPort
The TCP port used by the embedded webserver.
The default port is 8080; if the webserver is listening on a different port number, this property should be set to that value.
Declaration Syntax
C#Visual BasicVisual C++
public int httpPort
Public httpPort As Integer
public:
int httpPort
Remarks

Since:
SmartFoxServer Pro v1.5.0

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to retrieve the webserver's current http port.
CopyC#
Trace.WriteLine("HTTP port is: " + smartfox.httpPort);
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)