Hi. I am using the latest trial download fro Delphi (7) and have it a problem I am not sure "IS" a problem or is me.
Take the following code:
ScSSHClient1.User:=txtUsername.text;
ScSSHClient1.Password:=txtPassword.text;
ScSSHClient1.HostName:=txtIPAddress.text;
ScSSHClient1.timeout:=1;
screen.cursor:=crHourglass;
try
ScSSHClient1.Connect;
except
Messagedlg('Unable to connect to server', mtWarning,[mbOk],0);
end;
screen.cursor:=crDefault;
You will notice I have set the timeout to 1 which according to the help file is meant to be 1 second, however, it takes 35 seconds to time out !
Is there something I am doing wrong or is this something to do wiht it being a trial version.
Thanks, Jeremy