I've been reading through the mail archieves and would like to know if
there are any tips / example code for creating a TCP server that can
handle high (5000+) simultaneous connections. It seems the method
to assign upto 500 connections per thread seems to be the best method.
Is there an example of how to develop
the server so that a connection can be assigned to a certain thread. I
assume the actual server runs on the main thread and assigns each
connection to a thread as it connects. How is this managed and implemented?

TWSocket has methods ThreadAttach and ThreadDetach to have a given socket
work in the context of a given thread which is different than the thread
which created TWSocket instance in the first place.

The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to