(Looks never solved) How to check SSH is still connected (Alive) in Synapse? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- AFFRIZA 亜風実 · 2021-07-13 08:58 I have been using this topic [SOLVED] Stuck using Synapse tlntsend as SSH client but I have a problem when my internet was disconnected and I want to reconnect it again. I am using this code for now: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function TTelnetSSHClient.IsAlive: Boolean;var  tlsfk: TTelnetSend;begin  tlsfk := TTelnetSend.Create;  tlsfk.TargetPort := TargetPort;  tlsfk.UserName := UserName;  tlsfk.Password := Password;  tlsfk.TargetHost := TargetHost;  tlsfk.Timeout := 500;  if tlsfk.Login then    Result := True  else    Result := False;  tlsfk.Free;// these thing bellow also used, and nothing happening  //Result := (Sock.Socket = INVALID_SOCKET) or ((Sock.WaitingData = 0) and Sock.CanRead(0));end;   Does anyone know the better way to check the connection is still alive?