Article ID: 289152 - Last Review: January 31, 2007 - Revision: 3.2 Multiple Processes Attempting to Use Same Duplicated Socket Halts ProgramThis article was previously published under Q289152 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.
RESOLUTIONTo 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
STATUSMicrosoft 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.
| Article Translations
|
Back to the top
