Microsoft KB Archive/216584

{|
 * width="100%"|

BUG: WSAGetQOSByName Returns Incorrect TokenRate and PeakBandwidth Values

 * }

Q216584

-

The information in this article applies to:


 * Microsoft Windows 98

-

SYMPTOMS
When using the WSAGetQOSByName API to retrieve the QOS structure associated with a predefined QOS template, the values returned for TokenRate and PeakBandwidth are incorrect; they are in units of bits/second, instead of bytes/second. For example, the predefined G711 QOS template returns a TokenRate value of 68000 instead of 8500.

RESOLUTION
To work around this problem, just divide TokenRate and PeakBandwidth by 8 after calling WSAGetQOSByName when running on Windows 98.

STATUS
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 kbOSWin98bug kbWinsock kbGrpDSNet

Issue type : kbbug

Technology : kbWin98search kbWin98