Discuss this help topic in SecureBlackbox Forum

TElIdSSHClientServerIOHandler.OpenServerForwarding

TElIdSSHClientServerIOHandler     See also     


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


Tells the server that a new client connected to the server listening port.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    procedure OpenServerForwarding(const Address: string; Port : integer; const SrcHost: string; SrcPort: integer; Data: pointer = nil);

[C++]
    not available

[PHP]
    not available

[Java]
    not available

Parameters

  • Address - address of the host to which client should forward data received from the SSH-server via virtual channel.
  • Port - port on the Address host
  • SrcHost - host address or name of the client that connected to the server
  • SrcPort - port of the client that connected to the server
  • Data - user data. If new virtual connection was established successfully its value assigns to new connection Data property.If error happened during connection establishing this value is sent to OnServerForwardingFailed event.

Description

    Use this method if remote TCP forwarding is used, when new client has connected to the server listening port. If client agrees to create virtual channel for TCP-data transferring from server the OnOpenServerForwarding event is fired. If it doesn't agree, OnServerForwardingFailed event is fired.

Note: server must use this method only if remote forwarding was requested for the port which the connection was established with (OnServerForwardingRequest event was fired and Accept:=true was returned).

Discuss this help topic in SecureBlackbox Forum