2.2.14.1.5 Network Characteristics Result (RDP_NETCHAR_RESULTS)
The RDP_NETCHAR_RESULTS structure is used by the server to send detected network characteristics to the client.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
headerLength |
headerTypeId |
sequenceNumber |
|||||||||||||||||||||||||||||
requestType |
baseRTT (optional) |
||||||||||||||||||||||||||||||
... |
bandwidth (optional) |
||||||||||||||||||||||||||||||
... |
averageRTT (optional) |
||||||||||||||||||||||||||||||
... |
headerLength (1 byte): An 8-bit unsigned integer that specifies the size, in bytes, of the header data. This field MUST be set to 0x0E if the requestType field is not set to 0x08C0 and 0x12 if the requestType field is set to 0x08C0
headerTypeId (1 byte): An 8-bit unsigned integer that specifies the high-level type. This field MUST be set to TYPE_ID_AUTODETECT_REQUEST (0x00).
sequenceNumber (2 bytes): A 16-bit unsigned integer that specifies the message sequence number.
requestType (2 bytes): A 16-bit unsigned integer that specifies a request type code. This field MUST be set to one of the following values.
-
Value
Meaning
0x0840
The baseRTT and averageRTT fields are present in the Network Characteristics Result message (the bandwidth field is not present).
0x0880
The bandwidth and averageRTT fields are present in the Network Characteristics Result message (the baseRTT field is not present).
0x08C0
The baseRTT, bandwidth and averageRTT fields are present in the Network Characteristics Result message.
baseRTT (4 bytes): An optional 32-bit unsigned integer that specifies the lowest detected round-trip time in milliseconds.
bandwidth (4 bytes): An optional 32-bit unsigned integer that specifies the current bandwidth in kilobits per second.
averageRTT (4 bytes): An optional 32-bit unsigned integer that specifies the current average round-trip time in milliseconds.