David Hooker wrote: > > So instead of having 100 connections per thread, and then creating a > new thread, and then > another 100 connections, and so on... I want to have 4 threads and > have (number of connections at this present moment) / 4 connections > per thread.
I don't see the problem, only that you have to write such a server by yourself. Basically you have a listening TWSocket that Accept() incomming connections in one thread. Then distribute or move the connections to TWSocket instances executed in worker thread context. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be