API
TcpClient.ConnectAsync
Connects a TCP client to the selected endpoint asynchronously.
Formal Syntax & Structure
csharp syntaxcsharp
await client.ConnectAsync(IPAddress.Loopback, port, token)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await client.ConnectAsync(IPAddress.Loopback, port, token)