phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Socket.getOption
std
socket
Socket
Get a timeout (duration) option.
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)
class
Socket
@
trusted
void
getOption
(
SocketOptionLevel
level
,
SocketOption
option
,
out
Duration
result
)
Meta
Source
See Implementation
std
socket
Socket
constructors
this
functions
accept
accepting
bind
close
connect
createAddress
getErrorText
getOption
listen
receive
receiveFrom
send
sendTo
setKeepAlive
setOption
shutdown
properties
addressFamily
blocking
handle
hostName
isAlive
localAddress
release
remoteAddress
static functions
select
variables
ERROR
Get a timeout (duration) option.