| ClientBaseConnectAsync Method (IPAddress, Int32, Boolean) |
Establishes connection to a remote server.
Namespace:
Limilabs.Client
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task ConnectAsync(
IPAddress ipAddress,
int port,
bool useSSL
)
Public Function ConnectAsync (
ipAddress As IPAddress,
port As Integer,
useSSL As Boolean
) As Task
public:
Task^ ConnectAsync(
IPAddress^ ipAddress,
int port,
bool useSSL
)
member ConnectAsync :
ipAddress : IPAddress *
port : int *
useSSL : bool -> Task
Parameters
- ipAddress
- Type: System.NetIPAddress
IP address. - port
- Type: SystemInt32
The port number of the remote server. - useSSL
- Type: SystemBoolean
Creates SSL/TLS connection when set to true.
Return Value
Type:
TaskA task that represents the asynchronous connect operation.
See Also