async v0.2.11 (2022-01-25T05:41:09Z)
Dub
Repo
TcpStream.setOption
async
net
tcpstream
TcpStream
Undocumented in source. Be warned that the author may not have intended to support it.
void
setOption
(SocketOptionLevel level, SocketOption option, void[] value)
class
TcpStream
@
trusted
void
setOption
(
SocketOptionLevel
level
,
SocketOption
option
,
void
[]
value
)
void
setOption
(SocketOptionLevel level, SocketOption option, int value)
void
setOption
(SocketOptionLevel level, SocketOption option, Linger value)
void
setOption
(SocketOptionLevel level, SocketOption option, Duration value)
Meta
Source
See Implementation
async
net
tcpstream
TcpStream
constructors
this
functions
getOption
setKeepAlive
setOption
properties
blocking
fd
isAlive
localAddress
remoteAddress
reusePort
variables
_blocking
_reusePort
_socket