Re: Listening sockets not always closing?

2005-12-20 Thread Craig Davison
Hate to reply to my own message, but I missed something... On Tue, 20 Dec 2005, Craig Davison wrote: > I created a small test program to illustrate this. Basically, in a loop, I > create a SOCK_STREAM socket, call bind() and then listen(), check the > output of netstat, and then close t

Re: Listening sockets not always closing?

2005-12-20 Thread Craig Davison
On Tue, 20 Dec 2005, Chris Taylor wrote: > No offense, but doesn't this tell you what the solution is? Patch the > out-dated machines. > They're open to countless security flaws by now. > All 2k boxen should be running SP4 by now - it's only been out a couple > of years... My cygwin application i

Listening sockets not always closing?

2005-12-20 Thread Craig Davison
Hello, I'm running cygwin 1.5.18 on a number of versions of Windows, and I may have found a problem closing sockets. I'm seeing this problem on Windows 2000 (no SP) and Windows 2000 SP1, but not on Windows 2000 SP2, SP3 or SP4, and Windows XP and XP SP2 are also unaffected. I created a small test