This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] Updated: cygwin-1.7.0-65
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