Socket.broadcast

bool broadcast() @property nothrow

Get broadcast property.

Returns

Whether the socket should allow sending to broadcast addresses.
void broadcast(bool propval) @property nothrow

Set broadcast property.

Parameters

propvalWhether the socket should allow sending to broadcast addresses.