Click or drag to resize

TcpTextClientBeginConnect Method (String, Int32, Boolean, AsyncCallback)

Begins an asynchronous request for a remote server connection.

Namespace:  Limilabs.FTP.Client
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public IAsyncResult BeginConnect(
	string host,
	int port,
	bool useSSL,
	AsyncCallback asyncCallback
)

Parameters

host
Type: SystemString
The name or IP address of the remote server.
port
Type: SystemInt32
The port number of the remote server.
useSSL
Type: SystemBoolean
Creates SSL connection when set to true.
asyncCallback
Type: SystemAsyncCallback
The AsyncCallback delegate.

Return Value

Type: IAsyncResult
An IAsyncResult that references the asynchronous connection.
See Also