Discuss this help topic in SecureBlackbox Forum

TElIdSSHClientServerIOHandler.OnServerForwardingRequest

TElIdSSHClientServerIOHandler     See also     


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


This event is fired when client requests server forwarding.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    property OnServerForwardingRequest: TSSHServerForwardingRequestEvent;
    TSSHServerForwardingRequestEvent = procedure(Sender: TObject; const Address: string; Port : integer; var Accept : boolean; var RealPort: integer) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Address - address where port must be reserved (for instance "0.0.0.0")
  • Port - port to be reserved
  • Accept - specifies if this forwarding should be allowed
  • RealPort - not implemented

Description

    This event is fired on client's request for server forwarding. If Accept parameter is set to True the server allows this forwarding and undertakes to:
    a) open the Port for listening;
    b) if some remote host connects to this port, call OpenServerForwarding method and pass this host coordinates (SrcHost, SrcPort) to it.

Discuss this help topic in SecureBlackbox Forum