Rebex SFTP for .NET

ProxySocket.Connect Method (String, Int32)

Establishes a connection to a remote device.

public void Connect(
   string serverName,
   int serverPort
);

Parameters

serverName
The hostname (or IP address) of the remote device.
serverPort
The port number associated with the hostname.

Remarks

The Connect method establishes a network connection to a device identified by the remoteEP parameter. Once the connection has been made, you can send data to the remote device with the Send method, or receive data from the remote device with the Receive method.

See Also

ProxySocket Class | Rebex.Net Namespace | ProxySocket.Connect Overload List