|
| AwaitableSocketAsyncEventArgs (Socket owner, bool isReceiveForCaching) |
|
ValueTask< Socket > | AcceptAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask< int > | ReceiveAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask< SocketReceiveFromResult > | ReceiveFromAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask< SocketReceiveMessageFromResult > | ReceiveMessageFromAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask< int > | SendAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask | SendAsyncForNetworkStream (Socket socket, CancellationToken cancellationToken) |
|
ValueTask | SendPacketsAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask< int > | SendToAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTask | ConnectAsync (Socket socket) |
|
ValueTask | DisconnectAsync (Socket socket, CancellationToken cancellationToken) |
|
ValueTaskSourceStatus | GetStatus (short token) |
|
void | OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
void | SetBuffer (int offset, int count) |
|
void | SetBuffer (byte[]? buffer, int offset, int count) |
|
void | SetBuffer (Memory< byte > buffer) |
|
void | Dispose () |
|
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
void | OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) |
|
|
void | Release () |
|
void | InvokeContinuation (Action< object > continuation, object state, bool forceAsync, bool requiresExecutionContextFlow) |
|
int IValueTaskSource< int >. | GetResult (short token) |
|
void IValueTaskSource. | GetResult (short token) |
|
Socket IValueTaskSource< Socket >. | GetResult (short token) |
|
SocketReceiveFromResult IValueTaskSource< SocketReceiveFromResult >. | GetResult (short token) |
|
SocketReceiveMessageFromResult IValueTaskSource< SocketReceiveMessageFromResult >. | GetResult (short token) |
|
void | ThrowIncorrectTokenException () |
|
void | ThrowMultipleContinuationsException () |
|
void | ThrowException (SocketError error, CancellationToken cancellationToken) |
|
Exception | CreateException (SocketError error, bool forAsyncThrow=true) |
|
void | OnCompletedInternal () |
|
void | AfterConnectAcceptTelemetry () |
|
void | StartConfiguring () |
|
void | ThrowForNonFreeStatus (int status) |
|
void | StartOperationCommonCore () |
|
void | FinishOperationSync (SocketError socketError, int bytesTransferred, SocketFlags flags) |
|
void | InitializeInternals () |
|
void | FreeInternals () |
|
unsafe NativeOverlapped * | AllocateNativeOverlapped () |
|
unsafe void | FreeNativeOverlapped (NativeOverlapped *overlapped) |
|
unsafe void | RegisterToCancelPendingIO (NativeOverlapped *overlapped, CancellationToken cancellationToken) |
|
unsafe SocketError | GetIOCPResult (bool success, NativeOverlapped *overlapped) |
|
unsafe SocketError | ProcessIOCPResult (bool success, int bytesTransferred, NativeOverlapped *overlapped) |
|
unsafe SocketError | ProcessIOCPResultWithDeferredAsyncHandling (bool success, int bytesTransferred, NativeOverlapped *overlapped, Memory< byte > bufferToPin, CancellationToken cancellationToken=default(CancellationToken)) |
|
void | SetupMultipleBuffers () |
|
void | PinSocketAddressBuffer () |
|
void | FreeOverlapped () |
|
void | FreePinHandles () |
|
unsafe global::Interop.Winsock.TransmitPacketsElement[] | SetupPinHandlesSendPackets (SendPacketsElement[] sendPacketsElementsCopy, int sendPacketsElementsFileCount, int sendPacketsElementsFileStreamCount, int sendPacketsElementsBufferCount) |
|
unsafe SocketError | FinishOperationAccept (System.Net.Internals.SocketAddress remoteSocketAddress) |
|
unsafe SocketError | FinishOperationConnect () |
|
unsafe int | GetSocketAddressSize () |
|
void | CompleteCore () |
|
unsafe void | FinishOperationReceiveMessageFrom () |
|
void | FinishOperationSendPackets () |
|
unsafe void | HandleCompletionPortCallbackError (uint errorCode, uint numBytes, NativeOverlapped *nativeOverlapped) |
|
Definition at line 45 of file Socket.cs.