-
Is there an option to watch the QoS for incoming UDP traffic? This is necessary so that we can set QoS for the connection without handshake |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We don't currently expose the IPv4 TypeOfService or IPv6 TrafficClass values from received packets. The trick with providing those is that QUIC is a stream-based protocol, so when multiple packets are received with different ToS/TC values, which one does MsQuic provide to the app? We could provide the most-recently received value fairly easily. Other designs would probably not be desirable due to memory usage or CPU performance sacrifices. By the way, with this change, you can set the ToS/TC on the outgoing packets on a MsQuic Connection, even before starting the handshake. If you would like support for received ToS/TC, please file a feature request issue, and if you can, explain how you'd like to handle when you receive different ToS/TC values in different packets. |
Beta Was this translation helpful? Give feedback.
We don't currently expose the IPv4 TypeOfService or IPv6 TrafficClass values from received packets. The trick with providing those is that QUIC is a stream-based protocol, so when multiple packets are received with different ToS/TC values, which one does MsQuic provide to the app? We could provide the most-recently received value fairly easily. Other designs would probably not be desirable due to memory usage or CPU performance sacrifices.
By the way, with this change, you can set the ToS/TC on the outgoing packets on a MsQuic Connection, even before starting the handshake.
If you would like support for received ToS/TC, please file a feature request issue, and if you can, explain how you'…