Accepts a forwarded incoming connection.

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

Syntax

Visual Basic
Public Function AcceptTcpIpForward ( _
	handle As SshForwardingHandle, _
	timeout As Integer _
) As SshChannel
C#
public SshChannel AcceptTcpIpForward(
	SshForwardingHandle handle,
	int timeout
)

Parameters

handle
Type: Rebex.Net..::..SshForwardingHandle
Incoming tunnel handle returned by StartTcpIpForward(String, Int32).
timeout
Type: System..::..Int32
Specifies an amount of time (in milliseconds) to wait for incoming connections. Use -1 to specify an infinite time and 1 to just return as soon as the current queue status is checked, or a higher value to wait for the specified amount of time.

Return Value

SSH channel.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also