Click or drag to resize

ClientBaseConnectAsync(IPEndPoint, Boolean, CancellationToken) Method

Establishes connection to a remote server.

Namespace: Limilabs.Client
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task ConnectAsync(
	IPEndPoint ipEndPoint,
	bool useSSL,
	CancellationToken cancel = default
)

Parameters

ipEndPoint  IPEndPoint
Network endpoint (IP address and port) of the connection.
useSSL  Boolean
Creates SSL/TLS connection when set to true.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous connect operation.
See Also