AN_FD_ISSETSection: Antinat Programmer's Manual (3)
Index Return to Main Contents
The AN_FD_ISSET(3) function tests if an Antinat socket is in a set of file descriptors. This set of file descriptors can be used with select. To set or unset an Antinat handle from a set of file descriptors, use the AN_FD_CLR(3) or AN_FD_SET(3) functions. This function should be considered equivalent to the FD_ISSET macro in your sockets library, except that it is for use with proxy-capable sockets.
s is a socket previously created with an_new_connection(3).
fds is an fd_set socket structure. Consult your platform's documentation for the select function for more information about this structure. It will contain a list of file descriptors suitable for use with the select call.
Malcolm Smith <firstname.lastname@example.org>
Time: 14:19:44 GMT, January 09, 2005