SSH Client event - connection to server lost.

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
cube
Posts: 2
Joined: Wed 26 Jul 2017 21:46

SSH Client event - connection to server lost.

Post by cube » Wed 26 Jul 2017 22:02

Is there a way of trapping the event of an SSH Client losing a connection to a server? At the moment, I am getting an access violation in the System.Classes ThreadProc function if the server dies for any reason.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SSH Client event - connection to server lost.

Post by ViktorV » Thu 27 Jul 2017 14:37

To solve the issue, you can try to use the event handler TScSSHClient.AfterDisconnect: https://www.devart.com/sbridge/docs/ind ... onnect.htm

Post Reply