hunt ~v1.6.x (2022-05-12T11:27:03.6465239)
Dub
Repo
AbstractSocketChannel.setOption
hunt
io
channel
AbstractSocketChannel
AbstractSocketChannel
Common case for setting integer and boolean options.
void
setOption
(SocketOptionLevel level, SocketOption option, void[] value)
void
setOption
(SocketOptionLevel level, SocketOption option, int32_t value)
class
AbstractSocketChannel
pragma(
inline
) final @
trusted
void
setOption
(
SocketOptionLevel
level
,
SocketOption
option
,
int32_t
value
)
void
setOption
(SocketOptionLevel level, SocketOption option, Linger value)
void
setOption
(SocketOptionLevel level, SocketOption option, Duration value)
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
Common case for setting integer and boolean options.