Microsoft KB Archive/216603

{|
 * width="100%"|

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

 * }

Q216603

-

The information in this article applies to:


 * Microsoft Windows 98
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional

-

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 kbOSWin2000 kbSDKPlatform kbOSWin98 kbWinsock kbGrpDSNet

Issue type : kbprb

Technology : kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Serv kbwin2000ServSearch kbwin2000Search kbwin2000ProSearch kbwin2000Pro kbWin98search kbWinAdvServSearch kbWin98