This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Updated: cygwin-1.7.0-65


I don't think it's a SO_LINGER situation, at least there's no data to
send in my test code.

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 close
>>the incoming socket. The socket should be closed now but not.
>
> Is this an SO_LINGER situation?
>
> cgf
>
> --
> 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
>
>

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]