Re: HELP: select() under sockets


Ron Natalie (ron@topaz.rutgers.edu)
Sun, 6 Sep 87 12:18:54 EDT


The definition of the first argument to the socket is the maximum file
descriptor that can be specified in any of the other fields. You set
it to one (presumably because you are assuming the value was supposed to
be the number of things selecting on). Setting this value to one means
that you can only select on file descriptor 0. Set the value to something
larger like the maximum number of file descriptors (NFILE).

-ROn



This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:39:15 GMT