[1.7] Updated: cygwin-1.7.0-65

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sat Nov 21 04:49:00 GMT 2009


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



More information about the Cygwin mailing list