Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTstCustomTCPSSHClient.Port

property Port: Integer read GetPort write SetPort default 22;
Target TCP port (SSH default 22). As with Host, the getter/setter are virtual: here SetPort does nothing and GetPort just returns 22, so a socket-owning descendant (TstSSHSocketClient) overrides both to store the value on its socket. Set it before connecting.