Discuss this help topic in SecureBlackbox Forum

TElIdSSHClientServerIOHandler.OnOpenClientForwarding

TElIdSSHClientServerIOHandler     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when logical connection of a "client forwarding" type has been established.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    property OnOpenClientForwarding: TSSHOpenClientForwardingEvent;
    TSSHOpenClientForwardingEvent = procedure(Sender: TObject; Connection: TElSSHTunnelConnection; const DestHost: string; DestPort: integer; const SrcHost : string; SrcPort: integer) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Connection - newly created TElSSHTunnelConnection
  • DestHost - the host which server has to connect to
  • DestPort - port on the DestHost
  • SrcHost - host that connected to the client
  • SrcPort - port on the SrcHost

Description

    This event is preceded by OnBeforeOpenClientForwarding one. The server has to establish connection with DestHost:DestPort and adjust data exchange between client ant that server (using Connection methods).
    SSHBlackbox contains classes which provide such data exchange (TElTCPForwardingSSHSubsystemHandler).

See also:     OnBeforeOpenClientForwarding     OnOpenSubsystem     OnOpenCommand     OnOpenShell     OnOpenServerForwarding     OnOpenX11Forwarding    

Discuss this help topic in SecureBlackbox Forum