6 references to ReceiveAsync
System.Net.Sockets (6)
System\Net\Sockets\NetworkStream.cs (2)
574
return _streamSocket.
ReceiveAsync
(
597
return _streamSocket.
ReceiveAsync
(
System\Net\Sockets\Socket.cs (2)
2594
return TaskToAsyncResult.Begin(
ReceiveAsync
(new ArraySegment<byte>(buffer, offset, size), socketFlags, fromNetworkStream: false, default).AsTask(), callback, state);
2603
Task<int> t =
ReceiveAsync
(new ArraySegment<byte>(buffer, offset, size), socketFlags, fromNetworkStream: false, default).AsTask();
System\Net\Sockets\Socket.Tasks.cs (2)
290
return
ReceiveAsync
(buffer, socketFlags, fromNetworkStream, default).AsTask();
310
ReceiveAsync
(buffer, socketFlags, fromNetworkStream: false, cancellationToken);