hunt ~master (2022-04-01T03:44:56Z)
Home
Dub
Repo
AbstractSocketChannel.setOption
hunt
io
channel
AbstractSocketChannel
AbstractSocketChannel
Set the linger option.
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)
class
AbstractSocketChannel
pragma(
inline
) final @
trusted
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 the linger option.