ID: Q193919
The information in this article applies to:
- Windows 98
When you use the WSAAccept condition function to decide whether to accept, reject, or defer an incoming connection, you must set QOS on the socket if lpSQos is not NULL. Otherwise, WSAAccept fails with error 11014 - WSA_QOS_TRAFFIC_CTRL_ERROR. Also, dereferencing lpSQos does not reveal valid data for setting QOS. Therefore, you should not use the contents of lpSQos.
To work around this problem, set QOS on the socket in the condition function using the WSAIoctl API with the SIO_SET_QOS function code and pass in a valid QOS structure. Please note that you must do this even if the socket was already made into a QOS socket prior to calling WSAAccept using SIO_SET_QOS.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Additional query words:
Keywords : kbnetwork kbAPI kbGQos kbSDKPlatform kbWinOS98bug kbWinsock kbGrpNet
Issue type : kbbug
Last Reviewed: October 10, 1998