The information in this article applies to:
SUMMARYIf you create a socket using the Winsock 2 WSASocket API and you need to apply a timeout in receive or send operations on the socket, you must specify the WSA_FLAG_OVERLAPPED flag in the WSASocket call. MORE INFORMATION
If a socket is created without the overlapped I/O attribute, all I/O
operations on the socket are synchronous. So if your program has set socket
options SO_SNDTIMEO and SO_RCVTIMEO, you need to make sure your socket is
created with the overlapped I/O attribute to timeout your blocking send or
receive operations.
Additional query words:
Keywords : kbnetwork kbAPI kbNTOS400 kbWinOS2000 kbSDKPlatform kbWinOS95 kbWinOS98 kbWinsock kbGrpNet |
Last Reviewed: February 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |