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



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 98

This article was previously published under Q216603

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:

192120 HOWTO: Use the WSAPROTOCOL_INFO Structure to Create a Socket


Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbDSWNET2003Swept kbAPI kbGQos kbnetwork kbprb kbWinsock KB216603