apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r822431 - /apr/apr/trunk/include/apr_network_io.h
Date Wed, 07 Oct 2009 19:00:47 GMT

On 10/07/2009 06:44 PM, Jim Jagielski wrote:
> This is still confusing... "if true, then the next
> read will return APR_EOF" but doesn't it return true if
> there is still stuff to read?
> How about "Check whether the receive part of the socket is
> still connected and not shutdown by...."

Good catch. I let myself confuse from the mail.

How about:

* Check whether the send part of the socket is still open on the
* peer or that there is still data in the socket's read buffer.
* If this is false the next read on the socket will return APR_EOF.



View raw message