Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomSSHClient.GlobalRequest

function GlobalRequest(const aRequestName : string; const aWantReply : Boolean; const aRequestData : tBytes; out aResponseData: tBytes) : Boolean;
Sends a connection-wide (not per-channel) global request, e.g. "tcpip-forward" to set up remote port forwarding (-R). With aWantReply=True it blocks for the reply and returns success plus aResponseData. Requires a prior Login (raises otherwise). Routed through the channel Broker.