4 references to ConnectAsync
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1826
await socket.
ConnectAsync
(addresses, context.DnsEndPoint.Port, cancellationToken).ConfigureAwait(false);
System.Net.Sockets (3)
System\Net\Sockets\Socket.Tasks.cs (1)
152
public Task ConnectAsync(IPAddress[] addresses, int port) =>
ConnectAsync
(addresses, port, CancellationToken.None).AsTask();
System\Net\Sockets\SocketTaskExtensions.cs (1)
38
socket.
ConnectAsync
(addresses, port, cancellationToken);
System\Net\Sockets\TCPClient.cs (1)
214
CompleteConnectAsync(Client.
ConnectAsync
(addresses, port, cancellationToken));