Subj : Re: multi-threaded server, pthreads & sleep To : comp.unix.programmer,comp.programming.threads From : parahat Date : Thu Mar 17 2005 01:32 am "David Schwartz" wrote in message news:... > "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? :) I put bzero in wrong place. put it before send call... > > > - 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 .