mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
Socket.setSockOpt
mecca
reactor
io
fd
Socket
Call the
setsockopt
on the socket
Throws ErrnoException on failure
void
setSockOpt
(int level, int optname, const(void)[] optval, string msg)
struct
Socket
@
nogc
void
setSockOpt
(
int
level
,
int
optname
,
const
(
void
)[]
optval
,
string
msg
= "setsockopt failed"
)
void
setSockOpt
(int level, int optname, const(T) optval, string msg)
Meta
Source
See Implementation
mecca
reactor
io
fd
Socket
functions
getLocalAddress
getPeerAddress
getPeerName
getSockOpt
recv
recvFrom
recvObj
recvmsg
send
sendObj
sendObjTo
sendTo
sendmsg
setSockOpt
variables
fd
Call the setsockopt on the socket
Throws ErrnoException on failure