1 write to _socket
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
1272
_socket
= socket;
41 references to _socket
System.Net.Sockets (41)
System\Net\Sockets\SocketAsyncContext.Unix.cs (41)
374
return SocketPal.TryCompleteSendTo(context.
_socket
, Buffer.Span, null, ref bufferIndex, ref Offset, ref Count, Flags, SocketAddress.Span, ref BytesTransferred, out ErrorCode);
402
return SocketPal.TryCompleteSendTo(context.
_socket
, default(ReadOnlySpan<byte>), Buffers, ref BufferIndex, ref Offset, ref Count, Flags, SocketAddress.Span, ref BytesTransferred, out ErrorCode);
431
return SocketPal.TryCompleteSendTo(context.
_socket
, new ReadOnlySpan<byte>(BufferPtr, bufferLength), null, ref bufferIndex, ref Offset, ref Count, Flags, SocketAddress.Span, ref BytesTransferred, out ErrorCode);
474
return SocketPal.TryCompleteReceive(context.
_socket
, Buffer.Span, Flags, out BytesTransferred, out ErrorCode);
478
bool completed = SocketPal.TryCompleteReceiveFrom(context.
_socket
, Buffer.Span, null, Flags, SocketAddress.Span, out int socketAddressLen, out BytesTransferred, out ReceivedFlags, out ErrorCode);
513
bool completed = SocketPal.TryCompleteReceiveFrom(context.
_socket
, default(Span<byte>), Buffers, Flags, SocketAddress.Span, out int socketAddressLen, out BytesTransferred, out ReceivedFlags, out ErrorCode);
547
bool completed = SocketPal.TryCompleteReceiveFrom(context.
_socket
, new Span<byte>(BufferPtr, Length), null, Flags, SocketAddress.Span, out int socketAddressLen, out BytesTransferred, out ReceivedFlags, out ErrorCode);
574
bool completed = SocketPal.TryCompleteReceiveMessageFrom(context.
_socket
, Buffer.Span, Buffers, Flags, SocketAddress, out int socketAddressLen, IsIPv4, IsIPv6, out BytesTransferred, out ReceivedFlags, out IPPacketInformation, out ErrorCode);
604
bool completed = SocketPal.TryCompleteReceiveMessageFrom(context.
_socket
, new Span<byte>(BufferPtr, Length), null, Flags, SocketAddress!, out int socketAddressLen, IsIPv4, IsIPv6, out BytesTransferred, out ReceivedFlags, out IPPacketInformation, out ErrorCode);
626
bool completed = SocketPal.TryCompleteAccept(context.
_socket
, SocketAddress, out int socketAddressLen, out AcceptedFileDescriptor, out ErrorCode);
657
bool result = SocketPal.TryCompleteConnect(context.
_socket
, out ErrorCode);
658
context.
_socket
.RegisterConnectResult(ErrorCode);
665
context.
_socket
.RegisterConnectResult(ErrorCode);
704
SocketPal.TryCompleteSendFile(context.
_socket
, FileHandle, ref Offset, ref Count, ref BytesTransferred, out ErrorCode);
1283
get =>
_socket
.PreferInlineCompletions;
1296
_socket
.DangerousAddRef(ref addedRef);
1297
IntPtr handle =
_socket
.DangerousGetHandle();
1315
_socket
.DangerousRelease();
1361
if (Interop.Sys.Fcntl.SetIsNonBlocking(
_socket
, 1) != 0)
1456
SocketPal.TryCompleteAccept(
_socket
, socketAddress, out socketAddressLen, out acceptedFd, out errorCode))
1484
SocketPal.TryCompleteAccept(
_socket
, socketAddress, out socketAddressLen, out acceptedFd, out errorCode))
1522
if (SocketPal.TryStartConnect(
_socket
, socketAddress, out errorCode) ||
1525
_socket
.RegisterConnectResult(errorCode);
1555
if (SocketPal.TryStartConnect(
_socket
, socketAddress, out errorCode, buffer.Span, false, out sentBytes)) // In Linux, we can figure it out as needed inside PAL.
1558
_socket
.RegisterConnectResult(errorCode);
1614
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffer.Span, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1645
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffer, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1678
SocketPal.TryCompleteReceive(
_socket
, buffer.Span, flags, out bytesReceived, out errorCode))
1710
SocketPal.TryCompleteReceiveFrom(
_socket
, buffer.Span, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode))
1759
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffers, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1788
SocketPal.TryCompleteReceiveFrom(
_socket
, buffers, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode))
1828
(SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer.Span, null, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode) ||
1865
(SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer, null, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode) ||
1901
SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer.Span, buffers, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode))
1957
(SocketPal.TryCompleteSendTo(
_socket
, buffer, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
1990
(SocketPal.TryCompleteSendTo(
_socket
, buffer, null, ref bufferIndexIgnored, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
2022
SocketPal.TryCompleteSendTo(
_socket
, buffer.Span, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode))
2070
(SocketPal.TryCompleteSendTo(
_socket
, buffers, ref bufferIndex, ref offset, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
2102
SocketPal.TryCompleteSendTo(
_socket
, buffers, ref bufferIndex, ref offset, flags, socketAddress.Span, ref bytesSent, out errorCode))
2138
(SocketPal.TryCompleteSendFile(
_socket
, fileHandle, ref offset, ref count, ref bytesSent, out errorCode) ||
2166
SocketPal.TryCompleteSendFile(
_socket
, fileHandle, ref offset, ref count, ref bytesSent, out errorCode))