Click or drag to resize

HttpServerReuseAddress Property

Gets or sets a value indicating whether the server is allowed to be bound to an address that is already in use.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public bool ReuseAddress { get; set; }

Property Value

Type: Boolean

true if the server is allowed to be bound to an address that is already in use; otherwise, false.

The default value is false.

Remarks

You should set this property to true if you would like to resolve to wait for socket in TIME_WAIT state.

The set operation does nothing if the server has already started or it is shutting down.

See Also