apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: troubles while connecting thru apr sockets
Date Sat, 02 Aug 2003 14:37:56 GMT
Cristiano Maciel da Silva wrote:

> gentlemen,

that may be stretching it a bit...

> when i try to read something just after a connect, the read operation returns
> "end of file".

does it return APR_EOF immediately, or after a delay

> but, if i do connect, write anything to the socket, and then read it, it works
> fine and i receive the expected output.

maybe this behavior is due to the way the peer works?  (i.e., it drops 
the connection if it doesn't receive any data)

by chance have you tried your client code anywhere besides Windows?

do you ever call apr_recv() when apr_connect() is what actually failed?

> is that a apr buggy?


View raw message