BUG: Select() Fails to Block on a Blocking SocketLast reviewed: December 10, 1997Article ID: Q177346 |
The information in this article applies to:
SYMPTOMSThe Winsock select() API might fail to block on a nonblocking socket and return WSAEWOULDBLOCK as an error code when either send() or recv() is subsequently called. For example, select() may return indicating there is data to read, yet a call to recv() returns with the error code WSAEWOULDBLOCK, indicating there is no data immediately available. Windows NT 4.0 does not exhibit this behavior.
RESOLUTIONYou can any of the following techniques to work around this problem on Windows 95:
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. Keywords : NtwkWinsock Platform : Win95 Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |