This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: TCP problems
On Mon, Jul 29, 2002 at 07:44:44PM +0100, Conrad Scott wrote:
>The idea would be to detect the last close of a given socket
>system wide; so it wouldn't matter whether the parent or child or
>whatever was the last to close the socket.
If you're just talking about system-wide closes then you could use
the technique currently employed in pipe.cc where events are used
as flags indicating when the "other side" of a pipe is closed.
cgf