Path: utzoo!attcan!uunet!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!xanth!mcnc!ncsuvx!news From: rcb@ccpv1.cc.ncsu.edu (Randy Buckland) Newsgroups: comp.unix.questions Subject: TCP programming question Message-ID: Date: 29 Jun 90 15:23:24 GMT Sender: news@ncsuvx.ncsu.edu (USENET News System) Distribution: comp Organization: NCSU Computing Center Lines: 18 I have a program that is trying to use "select" to listen to a pipe, a tcp socket with a known port number and any number of active "connected" tcp circuits. I would like select to complete when another process issues a connect request for the tcp socket with the known port number and select would indicate that file as having activity. I am setting the select bitmasks for read and exceptions for all files involved. I thought that a connect request would read as an exception, but I get nothing. Any ideas? I want to be handling other data and when a connect comes in, I would like to accept that connection and add the new file to the list of active circuits. -- Randy Buckland North Carolina State University rcb@ccpv1.cc.ncsu.edu (919) 737-2517