Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Stop PortForwarding is toooooooo slow !

$
0
0
When i try to stop a started forwared port to stop it takes more than 20 secs to stop !
Is it possible to make that run faster ?
       If CurrentEShopSSH.ForwardedPorts(0).IsStarted Then
         CurrentEShopSSH.ForwardedPorts(0).Stop()
       End If

       CurrentEShopSSH.RemoveForwardedPort(CurrentEShopSSH.ForwardedPorts(0))
Or maybe send this job to the background and go down the code to the next statement ?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>