nlListen

enable a socket to listen for connections

C Specification

NLboolean nlListen(NLsocket socket)

Parameters

socket

[in]Specifies the socket to listen with.

Description

nlListen enables socket to listen for connections, and to accept connections with nlAcceptConnection.

Return values

nlListen returns NL_TRUE if sucessfull, or else it returns NL_FALSE and an error is set.

Error codes

NL_INVALID_SOCKET : Not a valid socket.
NL_SYSTEM_ERROR : A system Socket error has ocurred. The system error can be retrieved by calling nlGetSystemError.

See also

nlOpen


Back to the HawkNL index page


Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!