apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: svn commit: r822431 - /apr/apr/trunk/include/apr_network_io.h
Date Wed, 07 Oct 2009 19:53:40 GMT
Lovely!
On Oct 7, 2009, at 3:00 PM, Ruediger Pluem wrote:

>
>
> 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.
>
>
> Regards
>
> RĂ¼diger
>


Mime
View raw message