3 references to AcceptAsync
System.Net.Sockets (3)
System\Net\Sockets\Socket.Tasks.cs (3)
32
public Task<Socket> AcceptAsync() =>
AcceptAsync
((Socket?)null, CancellationToken.None).AsTask();
39
public ValueTask<Socket> AcceptAsync(CancellationToken cancellationToken) =>
AcceptAsync
((Socket?)null, cancellationToken);
46
public Task<Socket> AcceptAsync(Socket? acceptSocket) =>
AcceptAsync
(acceptSocket, CancellationToken.None).AsTask();