Click or drag to resize

PacketPeerUDPJoinMulticastGroup Method

Joins the multicast group specified by multicast_address using the interface identified by interface_name.

You can join the same multicast group with multiple interfaces. Use GetLocalInterfaces to know which are available.

Note: Some Android devices might require the CHANGE_WIFI_MULTICAST_STATE permission for multicast to work.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error JoinMulticastGroup(
	string multicastAddress,
	string interfaceName
)

Parameters

multicastAddress
Type: SystemString

[Missing <param name="multicastAddress"/> documentation for "M:Godot.PacketPeerUDP.JoinMulticastGroup(System.String,System.String)"]

interfaceName
Type: SystemString

[Missing <param name="interfaceName"/> documentation for "M:Godot.PacketPeerUDP.JoinMulticastGroup(System.String,System.String)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.PacketPeerUDP.JoinMulticastGroup(System.String,System.String)"]

See Also