NET SFTP Library
CreatePortForwardingR Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : CreatePortForwardingR Method
The network interface to bind on on the remote side. If null, bind to (remote) localhost, if "" or "*", bind to all interfaces.
The port to listen on on the remote side.
The host on the local side to forward connections to.
The port at host to forward connections to.
Creates a remote side port forwarding to a host at the local side.
Syntax
'Declaration
 
Public Sub CreatePortForwardingR( _
   ByVal bind_address As System.String, _
   ByVal rport As System.Integer, _
   ByVal host As System.String, _
   ByVal lport As System.Integer _
) 
'Usage
 
Dim instance As SFTP
Dim bind_address As System.String
Dim rport As System.Integer
Dim host As System.String
Dim lport As System.Integer
 
instance.CreatePortForwardingR(bind_address, rport, host, lport)
public void CreatePortForwardingR( 
   System.string bind_address,
   System.int rport,
   System.string host,
   System.int lport
)
public procedure CreatePortForwardingR( 
    bind_address: System.String;
    rport: System.Integer;
    host: System.String;
    lport: System.Integer
); 
public function CreatePortForwardingR( 
   bind_address : System.String,
   rport : System.int,
   host : System.String,
   lport : System.int
);
public: void CreatePortForwardingR( 
   System.string* bind_address,
   System.int rport,
   System.string* host,
   System.int lport
) 
public:
void CreatePortForwardingR( 
   System.String^ bind_address,
   System.int rport,
   System.String^ host,
   System.int lport
) 

Parameters

bind_address
The network interface to bind on on the remote side. If null, bind to (remote) localhost, if "" or "*", bind to all interfaces.
rport
The port to listen on on the remote side.
host
The host on the local side to forward connections to.
lport
The port at host to forward connections to.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members