yu ~master (2022-05-22T03:16:59.2320507)
Dub
Repo
TransportSocketOption.setOption
yu
asyncsocket
transport
TransportSocketOption
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)
mixintemplate
TransportSocketOption
()
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
yu
asyncsocket
transport
TransportSocketOption
functions
createAddress
getOption
setOption
properties
localAddress
remoteAddress
Common case for setting integer and boolean options.