Subj : Re: Socket programmation with threads To : comp.programming.threads From : Phil Frisbie, Jr. Date : Tue May 24 2005 05:10 pm christophe.anthon@gmail.com wrote: > Well I wanted to program an C++ Chat program, so I need threads in the > server so that he can handle many incoming connections and that what > they send. A chat server has very low overhead compared to other common servers. Sure, you can use a thread per connection for a few hundred connections, but you can create a single threaded chat server that can handle tens of THOUSANDS of connections using /dev/poll or similar techniques. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com .