Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 16273 invoked from network); 3 Aug 2006 22:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 22:24:26 -0000 Received: (qmail 11773 invoked by uid 500); 3 Aug 2006 22:24:22 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 11704 invoked by uid 500); 3 Aug 2006 22:24:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 11680 invoked by uid 99); 3 Aug 2006 22:24:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 15:24:22 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gonzalito@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 15:24:21 -0700 Received: by nf-out-0910.google.com with SMTP id o63so1082645nfa for ; Thu, 03 Aug 2006 15:24:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qX/xDhO5MPknsXGTRtLTAGWro1qklLYoYj0/1cRX955wPgw705WqrfjbXMkrsgFVGsLBxH2R3Jz/fd+9gfhTJOPjVO6iHm7aQEj4iao1OHmsKG9cCs00nICJIIiop57OWSaUEmL8FeECpC3Uohw/ymac9pe1gjD+SiWzyRyIDOM= Received: by 10.78.157.8 with SMTP id f8mr1198346hue; Thu, 03 Aug 2006 15:23:59 -0700 (PDT) Received: by 10.78.169.12 with HTTP; Thu, 3 Aug 2006 15:23:58 -0700 (PDT) Message-ID: <11a09c160608031523j11ae7f38t9c2da95c2ddce62d@mail.gmail.com> Date: Thu, 3 Aug 2006 18:23:59 -0400 From: "Gonzalo Paniagua Javier" To: dev@apr.apache.org Subject: Re: [Fwd: Re: How to detect is the socket is still open] In-Reply-To: <44D26800.5040402@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44D113D0.9080001@apache.org> <11a09c160608021747u50575660x92a5fd2d478586b2@mail.gmail.com> <44D26800.5040402@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/3/06, Ruediger Pluem wrote: > > > On 08/03/2006 02:47 AM, Gonzalo Paniagua Javier wrote: > >> > >> What does poll (with timeout zero) return in the case that the socket > >> has been closed? > > > > > > It reports that the socket is readable. > > And when you read it, it returns EOF? Yes, it returns a 0. -Gonzalo