Hi Stefano,
ssh_is_connected() returns session->alive which is only set to 0 when
the client or server explicitly disconnects or the handshake fails.
If your connection silently dies, you can only notice this when you send
anything to the server and it does not respond within some time frame.
If
Thanks Tilo for the comment.
Its seems there is no simple way and your detailed explanations is
invaluable.
If anyone else feels to add anything, I would be honored.
Regards,
Stefano
On Thu, Mar 14, 2019 at 1:23 PM Tilo Eckert wrote:
> Hi Stefano,
>
> ssh_is_connected() returns session->alive w