The Maverick.NET SSH API

ForwardingClient.StartLocalForwarding Method 

Starts a local listening socket and forwards any connections made to the remote side.

[Visual Basic]
Public Sub StartLocalForwarding( _
   ByVal addressToBind As String, _
   ByVal portToBind As Integer, _
   ByVal hostToConnect As String, _
   ByVal portToConnect As Integer _
)
[C#]
public void StartLocalForwarding(
   string addressToBind,
   int portToBind,
   string hostToConnect,
   int portToConnect
);

Parameters

addressToBind
portToBind
hostToConnect
portToConnect

Exceptions

Exception Type Condition
SSHException  

See Also

ForwardingClient Class | Maverick.Forwarding Namespace