Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 96738 invoked by uid 500); 2 Aug 2003 14:44:29 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 96727 invoked from network); 2 Aug 2003 14:44:28 -0000 Message-ID: <3F2BCCC4.8040903@attglobal.net> Date: Sat, 02 Aug 2003 10:37:56 -0400 From: Jeff Trawick Reply-To: trawick@attglobal.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: Re: troubles while connecting thru apr sockets References: <20030802113056.70668.qmail@web12808.mail.yahoo.com> In-Reply-To: <20030802113056.70668.qmail@web12808.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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? unclear