PRB: Socket Dup. Not Supported by QOS-Capable TCP & UDP Service Providers

ID: Q216603


The information in this article applies to:


SYMPTOMS

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.


RESOLUTION

Do not use WSADuplicateSocket when you write a GQOS-enabled application.


STATUS

This behavior is by design.


MORE INFORMATION

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