New
#1
TCP ESTABLISHED status even after network cable unplugged
I have an application that establishes a socket connection w/ another application on a different machine. When this connection is disrupted (e.g., pull out network cable), I recognize this condition and take some action.
In a Windows XP 32-bit environment, this happens quickly ... in seconds.
In a Windows 7 64-bit environment, this happens slowly ... in about 5 minutes.
If I run netstat in the W7 environment, the TCP connection shows ESTABLISHED for about 5 minutes after the network cable has been unplugged. (In WXP, it changes in seconds.)
I've searched the forum and have heard a few people refer to 5 minutes as being a "default" timeout value. I've also looked at the TCP spec, etc. to learn a bit more, understand it better, etc. in an attempt to find something I can configure to reduce the 5 minutes to seconds but I've not run into anything yet.
Ideas?
Thanks!
Kelly