Hi,
in my program im connecting to a ssh server and forwarding two ports. When I'm debugging it with Visual Studio and run/stop the program first the connection will be established by my program and then the two ports are fowarded correctly. Then when I stop the program the connection and Ports are closed properly. Then after a time the connection and ports are connected automatically, but by the devenv.exe Process (Visual Studio). So when I want to start my program again i got a "Only one usage of each socket address" exception.
The main question here is why is Visual Studio doing that?
Regards Markus