| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

sock_select

#include "sflsock.h"
int
sock_select (int nfds, fd_set *readfds, fd_set *writefds,
             fd_set *errorfds, struct timeval *timeout)

Synopsis

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.

Source Code - (sflsock.c)

{
#if (defined (DOES_SOCKETS))
    ASSERT (timeout);
    return (select (nfds,
                    FD_SETTYPE readfds,
                    FD_SETTYPE writefds,
                    FD_SETTYPE errorfds,
                    timeout));
#else
    return (0);
#endif
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix