hunt ~v1.1.x (2025-02-10T00:10:27.0144053)
Dub
Repo
AbstractSocketChannel.getOption
hunt
io
socket
Common
AbstractSocketChannel
Get a socket option.
int
getOption
(SocketOptionLevel level, SocketOption option, void[] result)
class
AbstractSocketChannel
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
hunt
io
socket
Common
AbstractSocketChannel
constructors
this
functions
close
getOption
isBusy
onWriteDone
setOption
setRead
start
properties
localAddress
remoteAddress
socket
variables
_isWritting
_localAddress
_remoteAddress
_socket
readLen
Get a socket option.