Requests that the remote side start a listening socket and forward any connections made to the local side.
[Visual Basic] Public Function RequestRemoteForwarding( _ ByVal addressToBind As String, _ ByVal portToBind As Integer, _ ByVal hostToConnect As String, _ ByVal portToConnect As Integer _ ) As Boolean
[C#] public bool RequestRemoteForwarding( stringaddressToBind, intportToBind, stringhostToConnect, intportToConnect );
Parameters
addressToBind
The address on which to bind
portToBind
The port to bind
hostToConnect
The destination host for all connections
portToConnect
The destination port for all connections
Return Value
A value of true if the remote forwarding has been started by the server.