yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
TransportSocketOption.setOption
yu
asyncsocket
transport
TransportSocketOption
Set a socket option.
void
setOption
(SocketOptionLevel level, SocketOption option, void[] value)
mixintemplate
TransportSocketOption
()
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
yu
asyncsocket
transport
TransportSocketOption
functions
createAddress
getOption
setOption
properties
localAddress
remoteAddress
Set a socket option.