The information in this article applies to:
SUMMARYWhen you write a GQoS-enabled (Generic Quality of Service) Winsock application using WSAEventSelect to receive asynchronous network event notifications, the iErrorCode member of the NetworkEvents variable (returned by WSAEnumNetworkEvents) should be interpreted as a status indicator for FD_QOS event notifications, not as an error indicator. MORE INFORMATION
Event notifications such as FD_ACCEPT, FD_CONNECT, FD_READ, FD_WRITE, and
so forth, return zero in iErrorCode if there is no error. However,
iErrorCode always returns a non-zero value for the FD_QOS event
notification. The values returned in iErrorCode for FD_QOS are one of the
WSA_QOS_xxx status values defined in WinSock2.h. While some of these values
can and should be viewed as indicative of an error (for example,
WSA_QOS_xxx_ERROR, WSA_QOS_xxx_FAILURE, WSA_QOS_BAD_xxx), others, such as
WSA_QOS_REQUEST_CONFIRMED, are merely status indicators.
REFERENCES
Platform SDK documentation for Generic Quality of Service (GQoS).
Additional query words:
Keywords : kbnetwork kbAPI kbGQos kbWinOS2000 kbSDKPlatform kbWinOS98 kbWinsock kbGrpNet |
Last Reviewed: January 21, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |