Default constructor.
Destructor.
Connect the socket to a remote peer.
Disconnect the socket from its remote peer.
Get the port to which the socket is bound locally.
Get the address of the connected peer.
Get the port of the connected peer to which the socket is connected.
Tell whether the socket is in blocking or non-blocking mode.
Receive a formatted packet of data from the remote peer.
Receive raw data from the remote peer.
Send raw data to the remote peer.
Send a formatted packet of data to the remote peer.
Set the blocking state of the socket.
Status codes that may be returned by socket functions.
Special value that tells the system to pick any available port.
Set the blocking state of the socket.
Tell whether the socket is in blocking or non-blocking mode.
Specialized socket using the TCP protocol.