apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gonzalo Paniagua Javier" <gonzal...@gmail.com>
Subject Re: [Fwd: Re: How to detect is the socket is still open]
Date Thu, 03 Aug 2006 22:23:59 GMT
On 8/3/06, Ruediger Pluem <rpluem@apache.org> wrote:
>
>
> On 08/03/2006 02:47 AM, Gonzalo Paniagua Javier wrote:
> >>
> >> What does poll (with timeout zero) return in the case that the socket
> >> has been closed?
> >
> >
> > It reports that the socket is readable.
>
> And when you read it, it returns EOF?

Yes, it returns a 0.

-Gonzalo

Mime
View raw message