PRB: Socket Dup. Not Supported by QOS-Capable TCP & UDP Service ProvidersID: Q216603
|
The WSADuplicateSocket API returns WSAEINVAL (10022) if you use it to duplicate a socket created using the Microsoft provided QOS-capable TCP and UDP Winsock 2 service providers.
Do not use WSADuplicateSocket when you write a GQOS-enabled application.
This behavior is by design.
For additional information about how to create a socket using a Winsock 2 service provider that supports Quality of Service, please see the following
article in the Microsoft Knowledge Base:
Q192120 HOWTO: Use the WSAPROTOCOL_INFO Structure to Create a Socket
Additional query words:
Keywords : kbnetwork kbAPI kbGQos kbSDKPlatform kbWinOS98 kbWinsock kbGrpNet
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 11, 1999