Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ames!sdcsvax!ucbvax!TOPAZ.RUTGERS.EDU!ron From: ron@TOPAZ.RUTGERS.EDU (Ron Natalie) Newsgroups: comp.protocols.tcp-ip Subject: Re: HELP: select() under sockets Message-ID: <8709061618.AA14584@topaz.rutgers.edu> Date: Sun, 6-Sep-87 12:18:54 EDT Article-I.D.: topaz.8709061618.AA14584 Posted: Sun Sep 6 12:18:54 1987 Date-Received: Sun, 6-Sep-87 21:14:36 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 8 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