Click or drag to resize

PacketPeerUDPSetBroadcastEnabled Method

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetBroadcastEnabled(
	bool enabled
)

Parameters

enabled
Type: SystemBoolean

[Missing <param name="enabled"/> documentation for "M:Godot.PacketPeerUDP.SetBroadcastEnabled(System.Boolean)"]

See Also