in reply to Multithread/fork TCP Proxy?
Certainly an ... interesting approach. Delighted (and, pleasantly surprised ...) to learn that it is “working perfectly!” But ... when more than 30 clients attempt to connect, exactly what, as you say, “goes wrong?” And does it, say, “keep happening over-and-over for connection #31?” What messages, for example, do you see in the STDOUT/STDERR streams from the process ... and/or from system log files? The devil, as they say, is in the details of such matters.