I don't think so. I am not trying to worry about the reading in from the sockets and file handles -- that is what the children is for. What I want is a way to call accept -- i.e. allow a client to connect -- without having accept wait until there is a client to connect. It seems like something that must have been dealt with before, because if accept waits for a client to connect before returning the system is potentially stuck in an infinite loop.
Want to support the EFF and FSF by buying cool stuff? Click
here.