PacketPeerUDP.setBroadcastEnabled

Enable or disable sending of broadcast packets (e.g. set_dest_address("255.255.255.255", 4343). This option is disabled by default. Note: Some Android devices might require the CHANGE_WIFI_MULTICAST_STATE permission and this option to be enabled to receive broadcast packets too.

struct PacketPeerUDP
@nogc nothrow
void
setBroadcastEnabled
(
in bool enabled
)

Meta