vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverSockets.setOption

Enables or disables a socket option.

abstract bool setOption (
  DatagramSocketFD socket,
  DatagramSocketOption option,
  bool enable
) nothrow @safe;

abstract bool setOption (
  StreamSocketFD socket,
  StreamSocketOption option,
  bool enable
) nothrow @safe;
Authors
Copyright
License