Discuss this help topic in SecureBlackbox Forum

TElLocalPortForwardSSHTunnel.Open

TElLocalPortForwardSSHTunnel     


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


Call this method to tell the TElLocalPortForwardSSHTunnel that new connection is accepted on local port and forwardnig can be started.

Declaration

[C#/Java]
    void Open(Object Data, string OrigHost, int OrigPort);
    void Open(Object Data);

[VB.NET]
    Sub Open(ByVal Data As Object, ByVal OrigHost As String, ByVal OrigPort As Integer)
    Sub Open(ByVal Data As Object)

[Pascal]
    procedure Open;

[C++]
    void Open(void * Data, const std::string &OrigHost, int32_t OrigPort);

[PHP]
    void Open(TSBPointer|array of byte|string|NULL $Data, string $OrigHost, integer $OrigPort)
    void Open(TSBPointer|array of byte|string|NULL $Data)

Parameters

  • Data - ...
  • OrigHost - ...
  • OrigPort - ...

Description

    Call this method when new connection is accepted on local port. After calling this method, TElLocalPortForwardSSHTunnel will try to create a logical connection for this connection. After logical connection is created, the OnOpen event is fired and application can start sending and receiving the data.

Discuss this help topic in SecureBlackbox Forum