> Is there any clear demo to run tcp server in threaded manner ? > The demos in the source confused me too much is there any updated > demo to better serv tcp with threading as you suggested ?
Don't worry about a threaded server until you reach a slow down on your non-threaded version, get the basics working first. ICS does have an old demo that uses one thread per client, but not one that uses one thread per x hundred clients. And using threads slows down applications, avoid if possible. The simplest 'threaded' version is two copies running on two servers for load sharing and redundancy. Angus -- 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