I told this guy to subscribe to the list but I dunno if he did or not. Please cc: him in responses.
--Cliff ---------- Forwarded message ---------- Date: Sat, 2 Aug 2003 17:33:23 -0300 (ART) From: Cristiano Maciel da Silva <[EMAIL PROTECTED]> To: Cliff Woolley <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: troubles while connecting thru apr sockets (fwd) below are my answers to your questions. > ---------- Forwarded message ---------- > Date: Sat, 02 Aug 2003 10:37:56 -0400 > From: Jeff Trawick <[EMAIL PROTECTED]> > To: [email protected] > Subject: Re: troubles while connecting thru apr sockets > > 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 Apr_socket_recv returns APR_EOF immediately!!! > > > > > 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) no! i was testing the connection in telnet ports. i was trying to read the telnet server reply using apr. but it did not work. > by chance have you tried your client code anywhere besides Windows? i am using linux (debian). > do you ever call apr_recv() when apr_connect() is what actually failed? every time i do test the return of apr_connect, and that was always APR_SUCCESS. > > is that a apr buggy? > > unclear again, thanks!! Cristiano Maciel da Silva. _______________________________________________________________________ Conhe�a o novo Cad�? - Mais r�pido, mais f�cil e mais preciso. Toda a web, 42 milh�es de p�ginas brasileiras e nova busca por imagens! http://www.cade.com.br
