Opens an outgoing TCP/IP tunnel to the specified remote endpoint.

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

Syntax

Visual Basic
Public Function OpenTcpIpTunnel ( _
	hostname As String, _
	port As Integer _
) As SshChannel
C#
public SshChannel OpenTcpIpTunnel(
	string hostname,
	int port
)

Parameters

hostname
Type: System..::..String
Hostname.
port
Type: System..::..Int32
Port.

Return Value

SSH channel.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also