Subj : Re: multi-threaded server, pthreads & sleep To : comp.unix.programmer,comp.programming.threads From : David Schwartz Date : Wed Mar 16 2005 04:22 pm "Parahat Melayev" wrote in message news:5bb6e2ec.0503161548.46b24cdc@posting.google.com... > - I can recv from events[i].data.fd but I can't send any data over > events[i].data.fd I have no idea what that means. Can you elaborate? > - When I make multiple connections at once (say 100) I get segmentation > fault... > #define MAX_CLIENT 101 Seems like the code has a hard-coded limit and doesn't gracefully deal with more connections than its coded limit. DS .