BUG: WSAGetQOSByName Returns Incorrect TokenRate and PeakBandwidth ValuesID: Q216584
|
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.
To work around this problem, just divide TokenRate and PeakBandwidth by 8 after calling WSAGetQOSByName when running on Windows 98.
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 kbWinOS98bug kbWinsock kbGrpNet
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 6, 1999