Re: PerlProcessConnectionHandler and APR::Socket->poll()

2007-02-15 Thread Colin Meyer
On Wed, Feb 14, 2007 at 01:28:07PM -0800, Colin Meyer wrote: [...] > My other question is about my usage of this method. Is it correct? It > seems that every time I call $sock->poll(), it returns success, > indicating that it's ok to write to the socket. But then, when I call &g

PerlProcessConnectionHandler and APR::Socket->poll()

2007-02-14 Thread Colin Meyer
Hi, I am building a mod_perl PerlProcessConnectionHandler, and am using nonblocking sockets, for fine-grained error control. My first question is regarding a bit of documentation ambiguity about the poll() method. 'perldoc APR::Socket' says that the timeout is milliseconds, but the example sugges