OverlappedConnectedSocket.endReceive

Ends a pending asynchronous read.

class OverlappedConnectedSocket
@nogc @trusted
int
endReceive
out (count) { assert (count >= 0); }

Parameters

overlapped SocketState

Unique operation identifier.

Return Value

Type: int

Number of bytes received.

Throws

$(D_PSYMBOL SocketException) if unable to receive.

Postcondition: result >= 0.

Meta