phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Socket.getOption
std
socket
Socket
Get the linger 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)
class
Socket
@
trusted
int
getOption
(
SocketOptionLevel
level
,
SocketOption
option
,
out
Linger
result
)
void
getOption
(SocketOptionLevel level, SocketOption option, 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 the linger option.