hunt ~v1.6.x (2022-05-12T11:27:03.6465239)
Dub
Repo
AbstractSocketChannel.setOption
hunt
io
channel
AbstractSocketChannel
AbstractSocketChannel
Set a socket option.
void
setOption
(SocketOptionLevel level, SocketOption option, void[] value)
class
AbstractSocketChannel
pragma(
inline
) final @
trusted
void
setOption
(
SocketOptionLevel
level
,
SocketOption
option
,
void
[]
value
)
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
Set a socket option.