What operations require the multicast entitlement?
The general rule is that sending or receiving multicast or broadcast traffic requires the multicast entitlement (com.apple.developer.networking.multicast). Common scenarios include:
Sending a UDP unicast — no
Sending a UDP multicast — yes
Sending a UDP broadcast — yes
Receiving an incoming UDP unicast — no
Receiving an incoming UDP multicast — yes
Receiving an incoming UDP broadcast — yes
Receiving UDP multicasts or broadcasts does not currently require the multicast entitlement. This may change in a future update which is why we recommend that you apply for and enable the entitlement if you either send or receive multicasts or broadcasts.
The current restriction on sending multicasts and broadcasts applies to NWConnectionGroup but not to BSD Sockets. We hope to change that in a future update (r. 68104781).
Additionally, some Bonjour operations require the multicast entitlement:
Working with arbitrary Bonjour service types — yes
Browsing for advertised service types (1) — yes
Back to the FAQ