Discuss this help topic in SecureBlackbox Forum

TElLocalPortForwardSSHTunnel.Port

TElLocalPortForwardSSHTunnel     See also     


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


This property specifies the local port, on which connections are accepted.

Declaration

[C#]
    int Port;

[VB.NET]
    Property Port As Integer

[Pascal]
    property Port : integer;

[C++]
    int32_t get_Port();
    void set_Port(int32_t Value);

[PHP]
    integer get_Port()
    void set_Port(integer $Value)

[Java]
    int getPort();
    void setPort(int Value);

Description

    Set this property accordingly to local port number where you want to accept connections. When new TCP connection is accepted, call the Open method.

     Note,  that neither TElLocalPortForwardSSHTunnel nor TElSSHClient deal with TCP ports directly. So, any of these classes won't open the specified port - it's your task to open and manage ports. This means, that you may listen in fact on port with number X and set this property to Y.

See also:     ToHost     ToPort    

Discuss this help topic in SecureBlackbox Forum