Function DatagramSocket.enableBroadcast

Enable SOL_BROADCAST on the socket

void enableBroadcast (
  bool enabled = true
) @nogc @trusted;

This allows the socket to send datagrams to broadcast addresses.