yu ~master (2022-05-22T03:16:59.2320507)
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.