Socket.getOption

Get a socket option.

Parameters

level SocketOptionLevel

Protocol level at that the option exists.

option SocketOption

Option.

result size_t

Buffer to save the result.

Return Value

Type: int

The number of bytes written to result.

Throws

$(D_PSYMBOL SocketException) on error.

Meta