yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
TransportSocketOption.getOption
yu
asyncsocket
transport
TransportSocketOption
Get a socket option.
int
getOption
(SocketOptionLevel level, SocketOption option, void[] result)
mixintemplate
TransportSocketOption
()
pragma(
inline
) final @
trusted
int
getOption
(
SocketOptionLevel
level
,
SocketOption
option
,
void
[]
result
)
int
getOption
(SocketOptionLevel level, SocketOption option, int32_t result)
int
getOption
(SocketOptionLevel level, SocketOption option, Linger result)
void
getOption
(SocketOptionLevel level, SocketOption option, Duration result)
Return Value
Type:
int
The number of bytes written to
result
.
Meta
Source
See Implementation
yu
asyncsocket
transport
TransportSocketOption
functions
createAddress
getOption
setOption
properties
localAddress
remoteAddress
Get a socket option.