SocketState ENUM

The state of a socket.

All Members


TypeNameValue
constantUNBOUND0
constantBOUND1
constantCONNECTED2
constantCLOSED3

Constants


public const SocketState UNBOUND = 0

The socket has not been bound to a local address yet.

public const SocketState BOUND = 1

The socket is bound to a local address, but is not connected to remote address.

public const SocketState CONNECTED = 2

The socket is connected to remote address.

public const SocketState CLOSED = 3

The socket is closed for the previous connection, and not bound to a local address anymore.