result.
The length, in bytes, of the actual result - very different from getsockopt()
int getOption(SocketOptionLevel level, SocketOption option, scope void[] result) @trustedGet a socket option.
result.
The length, in bytes, of the actual result - very different from getsockopt()
int getOption(SocketOptionLevel level, SocketOption option, out int32_t result) @trustedCommon case of getting integer and boolean options.
int getOption(SocketOptionLevel level, SocketOption option, out Linger result) @trustedGet the linger option.
void getOption(SocketOptionLevel level, SocketOption option, out Duration result) @trustedGet a timeout (duration) option.