The information in this article applies to:
SYMPTOMSAfter SO_LINGER timeout periods expires, TCPIP stack may fail to reset a TCP connection forcefully if you call the shutdown() with how=1 before calling the closesocket(). RESOLUTIONTo avoid this problem, do not call shutdown() with how=1 before calling closesocket() with SO_LINGER enabled. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
Before you call the closesocket(), you can call shutdown() how=1 to
initiate a graceful shutdown. It sends a TCP FIN packet that tells the
other side you are done sending, but still allows the other side to send.
Additional query words: winsock tcp ip reset fin so_linger connection abort
Keywords : kbnetwork kbIP kbNTOS400bug kbSDKPlatform kbWinsock kbGrpNet |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |