hunt ~bench (2026-06-26T23:21:19.4628502)
Dub
Repo
AbstractSocketChannel.getOption
hunt
io
channel
AbstractSocketChannel
AbstractSocketChannel
Get a socket option.
int
getOption
(SocketOptionLevel level, SocketOption option, void[] result)
class
AbstractSocketChannel
pragma(
inline
) final @
trusted
int
getOption
(
SocketOptionLevel
level
,
SocketOption
option
,
void
[]
result
)
int
getOption
(SocketOptionLevel level, SocketOption option, int32_t result)
int
getOption
(SocketOptionLevel level, SocketOption option, Linger result)
void
getOption
(SocketOptionLevel level, SocketOption option, Duration result)
Return Value
Type:
int
The number of bytes written to
result
.
Meta
Source
See Implementation
hunt
io
channel
AbstractSocketChannel
AbstractSocketChannel
constructors
this
functions
close
getOption
isBusy
onWriteDone
setOption
setRead
start
properties
localAddress
remoteAddress
socket
variables
_isWritting
_localAddress
_remoteAddress
_socket
readLen
Get a socket option.