Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConnectAsync() [8/8]

ValueTask System.Net.Sockets.TcpClient.ConnectAsync ( string host,
int port,
CancellationToken cancellationToken )
inline

Definition at line 349 of file TcpClient.cs.

350 {
351 return CompleteConnectAsync(Client.ConnectAsync(host, port, cancellationToken));
352 }
async Task CompleteConnectAsync(Task task)
Definition TcpClient.cs:338

References System.cancellationToken, and System.Net.Sockets.TcpClient.CompleteConnectAsync().