NLboolean nlGroupAddSocket(NLint group, NLsocket socket) NLboolean nlGroupDeleteSocket(NLint group, NLsocket socket)
group
[in]The group to use.
socket
[in]The socket to add or delete.
nlGroupAddSocket adds a socket to a group object. Groups can be used in place of sockets
when calling nlWrite.
nlGroupDeleteSocket deletes a socket from a group object.
NL_TRUE if no error occurs, otherwise, a value of NL_FALSE is returned, and the specific error code can
be retrieved by calling nlGetError
NL_INVALID_SOCKET : The socket is not valid.
NL_INVALID_GROUP : The group is not valid.
NL_SOCKET_NOT_FOUND : The socket was not found in the group.
nlWrite,
nlGroupCreate,
nlGroupDestroy,
nlGroupGetSockets
Back to the HawkNL index page
Go directly to the main HawkNL page at Hawk Software
© 2000-2002 Phil Frisbie.