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

New Post: Event Driven SshClient

$
0
0
Hi,
Currently using Ssh.net sucessfully, I just want to be able to detect a server's disconnection
Is it possible to add a handler in sshclient which would fire a sshclient.Disconnected event when server sends a SSH_MSG_CHANNEL_CLOSE message ?
I tried with Putty, it closes when server disconnects

More generally, do you plan to add a full implementation of Ssh events in sshclient class like connecting, Connected, ....
It would give better threading than waiting for "isconnected" property state
These are mostly present in sshsession class but not available for sshclient

Anyway, best regards for this great job

Alain

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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