X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20091121041346.GA31247@ednor.casa.cgf.cx>
References: <20091119094439.GC29173@calimero.vinschen.de> 	 <f4d6f44b0911191814r4653debfu24cbd4afd956f117@mail.gmail.com> 	 <20091120093210.GQ29173@calimero.vinschen.de> 	 <f4d6f44b0911202003j71954bf0lf5b6696acdfe7e7d@mail.gmail.com> 	 <20091121041346.GA31247@ednor.casa.cgf.cx>
Date: Sat, 21 Nov 2009 15:58:08 +0800
Message-ID: <f4d6f44b0911202358x399a481dq28a631b873cf1b76@mail.gmail.com>
Subject: Re: [1.7] Updated: cygwin-1.7.0-65
From: Huang Bambo <bambo.huang@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2009/11/21 Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>:
> On Sat, Nov 21, 2009 at 12:03:05PM +0800, Huang Bambo wrote:
>>Sorry for my bad expression. I mean the fd duplicated by fork() will
>>not be close
>>by both parent and child.
>>The following code listen on port 9999, parent process fork a child to
>>handle the
>>incoming socket and then close the socket. The child sleep 3 second and c=
lose
>>the incoming socket. The socket should be closed now but not.
>
> Is this an SO_LINGER situation?
>
Yes, I guess. those connections is in CLOSE_WAIT state
> cgf
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

