Socket.setSockOpt

Call the setsockopt on the socket

Throws ErrnoException on failure

  1. void setSockOpt(int level, int optname, const(void)[] optval, string msg)
    struct Socket
    @nogc
    void
    setSockOpt
    (
    int level
    ,,
    const(void)[] optval
    ,
    string msg = "setsockopt failed"
    )
  2. void setSockOpt(int level, int optname, const(T) optval, string msg)

Meta