3 references to ConnectAsync
System.Net.Sockets (3)
System\Net\Sockets\Socket.Tasks.cs (1)
229
public Task ConnectAsync(string host, int port) =>
ConnectAsync
(host, port, default).AsTask();
System\Net\Sockets\SocketTaskExtensions.cs (1)
44
socket.
ConnectAsync
(host, port, cancellationToken);
System\Net\Sockets\TCPClient.cs (1)
211
CompleteConnectAsync(Client.
ConnectAsync
(host, port, cancellationToken));