- getOption
int getOption(SocketOptionLevel level, SocketOption option, void[] result)
- getOption
int getOption(SocketOptionLevel level, SocketOption option, int32_t result)
Common case of getting integer and boolean options.
- getOption
int getOption(SocketOptionLevel level, SocketOption option, Linger result)
- getOption
void getOption(SocketOptionLevel level, SocketOption option, Duration result)
Get a timeout (duration) option.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, void[] value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, int32_t value)
Common case for setting integer and boolean options.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Linger value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.