This class provides
various ways to send and receive data, establish network connections, bind
to local addresses, and listen for and accept new connections.
Returns B_OK if successful, B_ERROR otherwise.
Returns 0 if successful, -1 otherwise.
Returns B_OK if successful, B_ERROR otherwise.
Returns B_OK if successful, B_ERROR otherwise.
Returns B_OK if successful, B_ERROR otherwise.