What is the correct way to handle a disconnection and re-connection event with the windows StreamSocket class (TCP)?
I have an issue where calling "Invalid Operation, method was called at an unexpected time" when calling async_connect after a disconnection event
do I need to create a new streamsocket, or wait for some amount of time before attempting to re-connect?
https://learn.microsoft.com/en-us/uwp/api/windows.networking.sockets.streamsocket