1 write to _socket
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
1270
_socket
= socket;
42 references to _socket
System.Net.Sockets (42)
System\Net\Sockets\SocketAsyncContext.Unix.cs (42)
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);
1281
get =>
_socket
.PreferInlineCompletions;
1294
_socket
.DangerousAddRef(ref addedRef);
1295
IntPtr handle =
_socket
.DangerousGetHandle();
1313
_socket
.DangerousRelease();
1333
_asyncEngine?.UnregisterSocket(
_socket
.DangerousGetHandle(), this);
1356
if (Interop.Sys.Fcntl.SetIsNonBlocking(
_socket
, 1) != 0)
1451
SocketPal.TryCompleteAccept(
_socket
, socketAddress, out socketAddressLen, out acceptedFd, out errorCode))
1479
SocketPal.TryCompleteAccept(
_socket
, socketAddress, out socketAddressLen, out acceptedFd, out errorCode))
1517
if (SocketPal.TryStartConnect(
_socket
, socketAddress, out errorCode) ||
1520
_socket
.RegisterConnectResult(errorCode);
1550
if (SocketPal.TryStartConnect(
_socket
, socketAddress, out errorCode, buffer.Span, false, out sentBytes)) // In Linux, we can figure it out as needed inside PAL.
1553
_socket
.RegisterConnectResult(errorCode);
1609
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffer.Span, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1640
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffer, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1673
SocketPal.TryCompleteReceive(
_socket
, buffer.Span, flags, out bytesReceived, out errorCode))
1705
SocketPal.TryCompleteReceiveFrom(
_socket
, buffer.Span, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode))
1754
(SocketPal.TryCompleteReceiveFrom(
_socket
, buffers, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode) ||
1783
SocketPal.TryCompleteReceiveFrom(
_socket
, buffers, flags, socketAddress.Span, out socketAddressLen, out bytesReceived, out receivedFlags, out errorCode))
1823
(SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer.Span, null, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode) ||
1860
(SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer, null, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode) ||
1896
SocketPal.TryCompleteReceiveMessageFrom(
_socket
, buffer.Span, buffers, flags, socketAddress, out socketAddressLen, isIPv4, isIPv6, out bytesReceived, out receivedFlags, out ipPacketInformation, out errorCode))
1952
(SocketPal.TryCompleteSendTo(
_socket
, buffer, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
1985
(SocketPal.TryCompleteSendTo(
_socket
, buffer, null, ref bufferIndexIgnored, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
2017
SocketPal.TryCompleteSendTo(
_socket
, buffer.Span, ref offset, ref count, flags, socketAddress.Span, ref bytesSent, out errorCode))
2065
(SocketPal.TryCompleteSendTo(
_socket
, buffers, ref bufferIndex, ref offset, flags, socketAddress.Span, ref bytesSent, out errorCode) ||
2097
SocketPal.TryCompleteSendTo(
_socket
, buffers, ref bufferIndex, ref offset, flags, socketAddress.Span, ref bytesSent, out errorCode))
2133
(SocketPal.TryCompleteSendFile(
_socket
, fileHandle, ref offset, ref count, ref bytesSent, out errorCode) ||
2161
SocketPal.TryCompleteSendFile(
_socket
, fileHandle, ref offset, ref count, ref bytesSent, out errorCode))