W3cubDocs

/Dart 2

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.

Implementation

bool broadcastEnabled

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