Method
Accept
func Accept(cancellationToken: CancellationToken = default) -> Task<Result<Socket, SocketError>>
Declaring type: Socket
Module: System.Networking.Sockets
Assembly: System.Networking.dll
Source file: Socket.rvn
Requests cancellation cooperatively; the task is cancelled after provider acknowledgement.
Parameters
| Name | Type | Description |
|---|---|---|
cancellationToken |
CancellationToken |