The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Socket.getOption
std
socket
Socket
Common case of getting integer and boolean options.
int
getOption
(SocketOptionLevel level, SocketOption option, void[] result)
int
getOption
(SocketOptionLevel level, SocketOption option, int32_t result)
class
Socket
@
trusted
int
getOption
(
SocketOptionLevel
level
,
SocketOption
option
,
out
int32_t
result
)
int
getOption
(SocketOptionLevel level, SocketOption option, 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
Common case of getting integer and boolean options.