The OS will detect that the outer socket has been closed and will automatically restart (you'll get a new connect call).
VPN Plugin framework and detection of closed peer connection
Alexander Sbitnev
1
Reputation point
Hi there!
I spent some time playing with UWPToyVpn sample and been able to run it with packets flowing through StreamSocket.
But I am not able to find a way to detect event of connection reset initiated by peer. Since VpnChannel is associated and running this socket there should be a way to get such event. Is there a way to do that?
1 answer
Sort by: Most helpful
-
Peter Smith 581 Reputation points Microsoft Employee
2020-04-29T23:55:02.04+00:00