AbstractSocketChannel.setOption

Common case for setting integer and boolean options.

  1. void setOption(SocketOptionLevel level, SocketOption option, void[] value)
  2. void setOption(SocketOptionLevel level, SocketOption option, int32_t value)
    class AbstractSocketChannel
    pragma(inline) final @trusted
    void
    setOption
    (
    SocketOptionLevel level
    ,
    SocketOption option
    ,
    int32_t value
    )
  3. void setOption(SocketOptionLevel level, SocketOption option, Linger value)
  4. void setOption(SocketOptionLevel level, SocketOption option, Duration value)

Meta