eventcore ~master (2021-12-17T12:21:51Z)
Dub
Repo
EventDriverSockets.setOption
eventcore
driver
EventDriverSockets
Enables or disables a socket option.
bool
setOption
(DatagramSocketFD socket, DatagramSocketOption option, bool enable)
bool
setOption
(StreamSocketFD socket, StreamSocketOption option, bool enable)
interface
EventDriverSockets
@
safe
nothrow
bool
setOption
(
StreamSocketFD
socket
,
StreamSocketOption
option
,
bool
enable
)
Meta
Source
See Implementation
eventcore
driver
EventDriverSockets
functions
addRef
adoptDatagramSocket
adoptStream
cancelConnectStream
cancelRead
cancelReceive
cancelSend
cancelWrite
connectStream
createDatagramSocket
getConnectionState
getLocalAddress
getRemoteAddress
isValid
joinMulticastGroup
listenStream
rawUserData
read
receive
releaseRef
send
setBroadcast
setKeepAlive
setKeepAliveParams
setOption
setTCPNoDelay
setTargetAddress
setUserTimeout
shutdown
waitForConnections
waitForData
write
properties
userData
Enables or disables a socket option.