phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Socket.setOption
std
socket
Socket
Common case for setting integer and boolean options.
void
setOption
(SocketOptionLevel level, SocketOption option, void[] value)
void
setOption
(SocketOptionLevel level, SocketOption option, int32_t value)
class
Socket
@
trusted
void
setOption
(
SocketOptionLevel
level
,
SocketOption
option
,
int32_t
value
)
void
setOption
(SocketOptionLevel level, SocketOption option, Linger value)
void
setOption
(SocketOptionLevel level, SocketOption option, Duration value)
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 for setting integer and boolean options.