9 references to ConnectAsync
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Listener\ResponseHeaderTests.cs (1)
369
await s.
ConnectAsync
(connectContext.DnsEndPoint, ct);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Client\SocketConnectionFactory.cs (1)
61
await socket.
ConnectAsync
(ipEndPoint, cancellationToken);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
692
await socket.
ConnectAsync
(endPoint, cancellationToken).ConfigureAwait(false);
System.Net.Sockets (6)
System\Net\Sockets\Socket.Tasks.cs (4)
78
public Task ConnectAsync(EndPoint remoteEP) =>
ConnectAsync
(remoteEP, default).AsTask();
144
public ValueTask ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken) =>
ConnectAsync
(new IPEndPoint(address, port), cancellationToken);
209
await
ConnectAsync
(endPoint, cancellationToken).ConfigureAwait(false);
245
return
ConnectAsync
(ep, cancellationToken);
System\Net\Sockets\SocketTaskExtensions.cs (1)
26
socket.
ConnectAsync
(remoteEP, cancellationToken);
System\Net\Sockets\TCPClient.cs (1)
223
CompleteConnectAsync(Client.
ConnectAsync
(remoteEP, cancellationToken));