Returns the TCP port of the SmartFoxServer 2X instance to which the client is connected.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public int CurrentPort { get; }

Property Value

Type: Int32

See Also