setsockopt
public func setsockopt(Int32, Int32, Int32, Pointer[UInt8], Int32) -> Int32Wraps setsockopt(2) — configures one option on sockfd.
level selects the option layer (e.g. SOL_SOCKET); optname
is the per-layer option code (e.g. SO_REUSEADDR); optval /
optlen describe the value. Returns 0 on success, -1 on
error.
Defined in lang/std/net/libc.ks