Article ID: 289152 - Last Review: January 31, 2007 - Revision: 3.2

Multiple Processes Attempting to Use Same Duplicated Socket Halts Program

This article was previously published under Q289152
Expand all | Collapse all

SYMPTOMS

If a program starts multiple child processes that have duplicated a socket, and the processes try to use the duplicate at the same time, both the processes and the program stop responding.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910  (http://support.microsoft.com/kb/260910/EN-US/ ) How to Obtain the Latest Windows 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows 2000 Service Pack 2.

MORE INFORMATION

This behavior can occur, for example, when process A calls WSADuplicateSocket() and then passes the resulting structure to process B by using an interprocess communication. If process B is currently creating a duplicate socket by means of a call to WSPSocket(), a second call to WSPSocket() before the first is complete may stop both the socket duplication code and the program.

APPLIES TO
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Advanced Server
Keywords: 
kbbug kbfix kbwin2000presp2fix kbpolicy kbprogramming KB289152
 

Article Translations

 

Related Support Centers