1 instantiation of SocketAsyncContext
System.Net.Sockets (1)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
106
Interlocked.CompareExchange(ref _asyncContext, new
SocketAsyncContext
(this), null) ??
48 references to SocketAsyncContext
System.Net.Sockets (48)
System\Net\Sockets\SafeSocketHandle.Unix.cs (2)
18
private
SocketAsyncContext
? _asyncContext;
104
internal
SocketAsyncContext
AsyncContext =>
System\Net\Sockets\SocketAsyncContext.Unix.cs (38)
128
public readonly
SocketAsyncContext
AssociatedContext;
136
public AsyncOperation(
SocketAsyncContext
context)
152
public OperationResult TryComplete(
SocketAsyncContext
context)
317
protected abstract bool DoTryComplete(
SocketAsyncContext
context);
328
public void TraceWithContext(
SocketAsyncContext
context, string message, [CallerMemberName] string? memberName = null)
338
public ReadOperation(
SocketAsyncContext
context) : base(context) { }
345
public WriteOperation(
SocketAsyncContext
context) : base(context) { }
357
public SendOperation(
SocketAsyncContext
context) : base(context) { }
369
public BufferMemorySendOperation(
SocketAsyncContext
context) : base(context) { }
371
protected override bool DoTryComplete(
SocketAsyncContext
context)
398
public BufferListSendOperation(
SocketAsyncContext
context) : base(context) { }
400
protected override bool DoTryComplete(
SocketAsyncContext
context)
425
public BufferPtrSendOperation(
SocketAsyncContext
context) : base(context) { }
427
protected override bool DoTryComplete(
SocketAsyncContext
context)
441
public ReceiveOperation(
SocketAsyncContext
context) : base(context) { }
454
public BufferMemoryReceiveOperation(
SocketAsyncContext
context) : base(context) { }
456
protected override bool DoTryComplete(
SocketAsyncContext
context)
509
public BufferListReceiveOperation(
SocketAsyncContext
context) : base(context) { }
511
protected override bool DoTryComplete(
SocketAsyncContext
context)
543
public BufferPtrReceiveOperation(
SocketAsyncContext
context) : base(context) { }
545
protected override bool DoTryComplete(
SocketAsyncContext
context)
568
public ReceiveMessageFromOperation(
SocketAsyncContext
context) : base(context) { }
572
protected override bool DoTryComplete(
SocketAsyncContext
context)
598
public BufferPtrReceiveMessageFromOperation(
SocketAsyncContext
context) : base(context) { }
602
protected override bool DoTryComplete(
SocketAsyncContext
context)
620
public AcceptOperation(
SocketAsyncContext
context) : base(context) { }
624
protected override bool DoTryComplete(
SocketAsyncContext
context)
653
public ConnectOperation(
SocketAsyncContext
context) : base(context) { }
655
protected override bool DoTryComplete(
SocketAsyncContext
context)
696
public SendFileOperation(
SocketAsyncContext
context) : base(context) { }
703
protected override bool DoTryComplete(
SocketAsyncContext
context) =>
807
public bool IsReady(
SocketAsyncContext
context, out int observedSequenceNumber)
833
public bool StartAsyncOperation(
SocketAsyncContext
context, TOperation operation, int observedSequenceNumber, CancellationToken cancellationToken = default)
921
static void HandleFailedRegistration(
SocketAsyncContext
context, TOperation operation, Interop.Error error)
947
public AsyncOperation? ProcessSyncEventOrGetAsyncEvent(
SocketAsyncContext
context, bool skipAsyncEvents = false)
1031
SocketAsyncContext
context = op.AssociatedContext;
1213
public bool StopAndAbort(
SocketAsyncContext
context)
1248
public void Trace(
SocketAsyncContext
context, string message, [CallerMemberName] string? memberName = null)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (8)
111
public static bool TryRegisterSocket(IntPtr socketHandle,
SocketAsyncContext
context, out SocketAsyncEngine? engine, out Interop.Error error)
120
private bool TryRegisterCore(IntPtr socketHandle,
SocketAsyncContext
context, out Interop.Error error)
141
public void UnregisterSocket(IntPtr socketHandle,
SocketAsyncContext
__)
345
SocketAsyncContext
context = contextWrapper.Context;
375
public SocketAsyncContextWrapper(
SocketAsyncContext
context) => Context = context;
377
internal
SocketAsyncContext
Context { get; }
382
public
SocketAsyncContext
Context { get; }
385
public SocketIOEvent(
SocketAsyncContext
context, Interop.Sys.SocketEvents events)