BUG: WSAGetQOSByName Returns Incorrect TokenRate and PeakBandwidth Values

ID: Q216584


The information in this article applies to:


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 kbWinOS98bug kbWinsock kbGrpNet 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: March 6, 1999