nlGroupGetSockets

get a list of sockets from a group

C Specification

void nlGroupGetSockets(NLint group, NLsocket *socket, NLint *number)

Parameters

group

[in]Specifies the group to use.

socket

[in/out]Specifies the socket pointer allocated by the caller.

number

[in]Specifies a pointer to the length of socket.
[out]Specifies a pointer to the number of sockets returned in socket.

Description

nlGroupGetSockets returns an array of sockets that have been added to group. socket should be allocated to hold at least the number of sockets that have been added to group.

Return values

none

Error codes

NL_INVALID_GROUP : The group is not valid.
NL_NULL_POINTER : A NULL pointer was passed to this function.

See also

nlGroupCreate,
nlGroupDestroy,
nlGroupAddSocket,
nlGroupDeleteSocket


Back to the HawkNL index page


Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!