Article ID: 289232 - Last Review: January 31, 2007 - Revision: 3.2 FD_READ Event Is Not Signaled on Connected Socket If Data Arrives Right After an Accept() on SANThis article was previously published under Q289232 SYMPTOMS
On a system area network (SAN) connection, when a program that uses EventSelect calls on a listening socket and then data arrives right after an accept, the program may wait indefinitely for notification of the FD_READ event on the connected socket. In addition, another race condition may result under the following conditions:
CAUSE
This behavior occurs because the Windows 2000 Afd.sys driver contains incorrect settings.
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
Many programs use WSAEventSelect and WSAEnumNetworkEvents/WaitForSingleObject calls to be notified of the network events that happen on a socket. Any program that waits for an FD_READ event on a connected socket can run into this problem, which causes that program thread to wait indefinitely for FD_READ notification.
| Article Translations
|
Back to the top
