On Mon, Oct 09, 2006 at 01:28:52PM -0400, Jarrod Roberson wrote: > I got it to compile under XCode, and run, but I can't get it to responde > to any events? Here is the code.
I went through this code before but didn't have time to enumerate all the different things wrong with it (not finish the reply). The most obvious problem is this: open(O_NONBLOCK) doesn't do what you think it does. open(O_NONBLOCK) on a FIFO means that the open call shouldn't block waiting for a writer to open the other end. It DOES NOT put the resulting descriptor into non-blocking I/O mode. You'll still need to use fcntl() for that. - Bill _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users