Ben Collins <[EMAIL PROTECTED]> wrote: >> > problem code: >> > if (fds_bits[i]) { >> > >> > declaration in sys/types.h: >> > /usr/include/bits/types.h: __fd_mask fds_bits[__FD_SETSIZE / __NFDBITS]; >> > (there are a few other references, but i think this is the key one) >> > >> > does anyone know what i'm supposed to do with this fds_bits thing?
You're supposed to inspect these things with the FD_* macros, try man select -- Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt