Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!ucbvax!TWG.ARPA!mja From: mja@TWG.ARPA ("Mike Anello") Newsgroups: comp.protocols.tcp-ip Subject: Reply: HELP: select() under sockets Message-ID: <8709151632.AA23755@ucbvax.Berkeley.EDU> Date: Tue, 15-Sep-87 12:23:00 EDT Article-I.D.: ucbvax.8709151632.AA23755 Posted: Tue Sep 15 12:23:00 1987 Date-Received: Thu, 17-Sep-87 04:43:29 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "Mike Anello" Organization: The ARPA Internet Lines: 24 HELP: select() under Wollongong sockets Is it me or our sockets service?? code fragment ... set up connection on file descriptor nfd /* ********************************************** ** select test code etc. etc. etc. In response to your mail about problems with select(3W): We believe that you are incorrectly using the numfds argument in the system call. You must increase this number so that select will work on more that just stdin. Possibly using a number like 5 or 6 to be safe. Your code will only select on stdin and you probably really want to select on at least stdin, stdout, stderr, and one other file descriptor. I hope this is helpful for you. Mike Anello The Wollongong Group ------