TCP programming question

Randy Buckland rcb at ccpv1.cc.ncsu.edu
Sat Jun 30 01:23:24 AEST 1990


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 at ccpv1.cc.ncsu.edu (919) 737-2517



More information about the Comp.unix.questions mailing list