'Declaration Public Function CreatePortForwardingL( _ ByVal boundAddress As System.String, _ ByVal lPort As System.Integer, _ ByVal host As System.String, _ ByVal rPort As System.Integer _ ) As System.Integer
'Usage Dim instance As SFTP Dim boundAddress As System.String Dim lPort As System.Integer Dim host As System.String Dim rPort As System.Integer Dim value As System.Integer value = instance.CreatePortForwardingL(boundAddress, lPort, host, rPort)
public System.int CreatePortForwardingL( System.string boundAddress, System.int lPort, System.string host, System.int rPort )
public function CreatePortForwardingL( boundAddress: System.String; lPort: System.Integer; host: System.String; rPort: System.Integer ): System.Integer;
public function CreatePortForwardingL( boundAddress : System.String, lPort : System.int, host : System.String, rPort : System.int ) : System.int;
public: System.int CreatePortForwardingL( System.string* boundAddress, System.int lPort, System.string* host, System.int rPort )
public: System.int CreatePortForwardingL( System.String^ boundAddress, System.int lPort, System.String^ host, System.int rPort )
Parameters
- boundAddress
- The network interface we should be listening on
- lPort
- The local port to listen on. If 0, the system randomly selects a port (and returns this number).
- host
- The remote host (i.e. at the server-side) to forward the connections to.
- rPort
- The port at the remote host to forward the connections to.
Return Value
The local port number we now are listening on.