in reply to TCP IO:Sockets problem

I have a box with a similar setup, and find that hangning until the first client disconnects usually comes from the placment of my accept. By this i mean that even though i call fork, i end up queing connections ... no good way to describe it short of code ... but rather than add code to this, would you mind posting the code you are currently using, even just a stripped down version ? this way, i am not writting code, but rather helping you to find the bug so you can release the übercode inside.
OH, a sarcasm detector, that’s really useful