Connects to the server using chosen protocol.

Namespace:  Rebex.Net
Assembly:  Rebex.FileTransfer (in Rebex.FileTransfer.dll)

Syntax

Visual Basic
Public Sub Connect ( _
	serverName As String, _
	transferMode As FileTransferMode _
)
C#
public void Connect(
	string serverName,
	FileTransferMode transferMode
)

Parameters

serverName
Type: System..::..String
The server address - either a hostname or a dotted string IP address.
transferMode
Type: Rebex.Net..::..FileTransferMode
Which protocol will be used for communication to the server.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also