| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sflsock.h" int sock_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout)
Performs the standard select() call. Use this in preference to select(), as some systems may not be 100% compatible with BSD sockets, Uses the same arguments as the select() call, and gives the same return codes. If sockets are not supported, always returns 0.
{ #if (defined (DOES_SOCKETS)) ASSERT (timeout); return (select (nfds, FD_SETTYPE readfds, FD_SETTYPE writefds, FD_SETTYPE errorfds, timeout)); #else return (0); #endif }
| << | < | > | >> |
![]() |