how to test connection migration in win10 env? #5817
|
hi everyone, |
Replies: 1 comment 5 replies
|
Look at QUIC_PARAM_CONN_LOCAL_ADDRESS to trigger a connection migration on the client side.
A new CID is used on a new path, per the QUIC spec. A CID must not be re-used between paths. |
That is up to the app, MsQuic currently doesn't provide support for it. Different Windows APIs can provide the recommended interface, assuming they can route to the target address.
Maybe https://learn.microsoft.com/en-us/uwp/api/windows.networking.connectivity.networkinformation.getinternetconnectionprofile?view=winrt-26100 or https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getbestinterface?redirectedfrom=MSDN can get you started. I am not an expert on this topic though, and determining which interface is best can be tricky.
You don't need 0-rtt, migrating a connection doesn't not interrupt it. 0-rtt is about resuming a connection after a disconnection.