Specifies the IP address or host name of the SmartFoxServer 2X instance to connect to (TCP connection).

Namespace: Sfs2X.Util
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public string Host { get; set; }

Property Value

Type: String

Remarks

The default value is 127.0.0.1.

When using a websocket connection to an IPv6 address, always wrap the address in square brackets.

See Also