broadcastEnabled property

bool broadcastEnabled
read / write

Set or get, whether IPv4 broadcast is enabled.

IPv4 broadcast needs to be enabled by the sender for sending IPv4 broadcast packages. By default IPv4 broadcast is disabled.

For IPv6 there is no general broadcast mechanism. Use multicast instead.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/RawDatagramSocket/broadcastEnabled.html