Starts incoming TCP/IP tunnel on the specified IP address and port at the SSH server.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Function StartTcpIpForward ( _
	address As String, _
	port As Integer _
) As SshForwardingHandle
C#
public SshForwardingHandle StartTcpIpForward(
	string address,
	int port
)

Parameters

address
Type: System..::..String
Remote IP address to bind to. Most SSH installations only allow 127.0.0.1.
port
Type: System..::..Int32
Remote port to bind to. Set this to 0 to get a random port automatically.

Return Value

A forwarding handle.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also