A subset of socket options are supported, using a fairly general
framework which should make it simple to add more as required - see
SYS:CONTRIB;SB-BSD-SOCKETS:SOCKOPT.LISP for details. The name
mapping from C is fairly straightforward: SO_RCVLOWAT
becomes
sockopt-receive-low-water
and (setf
sockopt-receive-low-water)
.
Return the value of the
so-reuseaddr
socket option forsocket
. This can also be updated withsetf
.
Return the value of the
so-keepalive
socket option forsocket
. This can also be updated withsetf
.
Return the value of the
so-oobinline
socket option forsocket
. This can also be updated withsetf
.
Return the value of the
so-bsdcompat
socket option forsocket
. This can also be updated withsetf
. Available only on Linux.
Return the value of the
so-passcred
socket option forsocket
. This can also be updated withsetf
. Available only on Linux.
Return the value of the
so-debug
socket option forsocket
. This can also be updated withsetf
.
Return the value of the
so-dontroute
socket option forsocket
. This can also be updated withsetf
.