BUG: WSAGetQOSByName Returns Incorrect TokenRate and PeakBandwidth Values (216584)
The information in this article applies to:
This article was previously published under Q216584 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.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 12/20/2004 |
---|
Keywords: | kbDSWNET2003Swept kbAPI kbBug kbGQos kbnetwork kbWinsock KB216584 |
---|
|