Subj : Re: multi-threaded server, pthreads & sleep To : comp.unix.programmer,comp.programming.threads,comp.lang.c From : David Schwartz Date : Wed Mar 16 2005 11:43 am "Parahat Melayev" wrote in message news:5bb6e2ec.0503161125.5d63e85f@posting.google.com... > yes I programmed using select firstly, actually. but it is not doing > what it is supposed to do, when I connect 1000 client at once. You're going to have to get more sophisticated if you want to handle more than a few hundred concurrent connections. You'll at minimum need to use 'poll' instead of 'select'. You may need to raise resource limits also. It's hard to know exactly what your issue is because "it is not doing what it is supposed to do" is a very vague description of the problem. DS .