Socket

Base interface for all the socket types.

Members

Enums

Status
enum Status

Status codes that may be returned by socket functions.

Functions

isBlocking
bool isBlocking()

Tell whether the socket is in blocking or non-blocking mode.

setBlocking
void setBlocking(bool blocking)

Set the blocking state of the socket.

Manifest constants

AnyPort
enum AnyPort;

Special value that tells the system to pick any available port.

Meta