API Reference
StreamSec.SSH.DirectSenderSocket
SSH Direct Sender Socket Unit
Feature notes: SSH implementation notes
Classes, interfaces and records
inherits from TstCustomSSHThreadPoolComponent
implements iSSHSenderController
constructor Create(aOwner: TComponent); override;
Sets SendTimeout to its default, cSSHSendTimeoutMSec.
» member page
destructor Destroy; override;
Detaches from SSHServer (via SetSSHServer(nil)), which unregisters this component as the server's direct-tcpip sender controller before the inherited destructor runs. Application code does not call this directly; it fires when the component is freed (e.g. owner teardown).
» member page
property SSHServer: TstCustomSSHServer read fSSHServer write SetSSHServer;
Wires this component to a TstCustomSSHServer as its direct-tcpip sender controller (AddSenderController/RemoveSenderController), so it is the server-side handler that opens outbound TCP connections when a connected SSH client requests local ("-L") port forwarding.
Full description »
property SendTimeout: Cardinal read fSendTimeout write fSendTimeout default cSSHSendTimeoutMSec;
How long, in milliseconds, a forwarded connection may wait for its target to take what arrives for it on the SSH channel, with not one byte taken, before it is closed: first the TCP connection, then the channel.
Full description »
classtTCPThrd
(no public members)