Skip to Content
Platform.Ontology

Multicast networking

Sends and receives multicast and broadcast traffic on the local network.

Works without askingNetwork and connectionNetworkAndroid and iPhoneWhile you use it

In one line

Can send and receive shared messages to many devices on your local network

Sends and receives multicast and broadcast traffic on the local network.

Needed for custom device discovery; also a way to enumerate LAN devices, so Apple gates it by approval.

What it can and can't do

What the user does: Nothing, or you use device discovery or casting inside the app

It can

  • Listen for broadcast announcements on the local network
  • Find devices that announce themselves (printers, TVs)
  • Use raw multicast on iPhone with the Apple entitlement
  • Use Bonjour on iPhone with no extra entitlement

It cannot

  • Use raw multicast on iPhone without the Apple entitlement
  • Reach beyond the local network
  • Skip local network rules on Android 17
  • Listen for free on Android; a multicast lock costs battery

How it differs between platforms: iPhone exempts Bonjour but needs an entitlement for raw multicast. Android needs a normal permission and treats multicast as local traffic in Android 17.

On Android and iPhone

AndroidiPhone
StatusSupportedBehind a flag
First versionAndroid 4.1 (API 1)iOS 14.5
Permission or entitlementCHANGE_WIFI_MULTICAST_STATE (normal)com.apple.developer.networking.multicast
Protection levelnormalentitlement
How access is grantedinstallentitlement
What the user seesNone (Android 17 local network permission also applies)Apple request form; local network prompt also applies
How long it lastsWhile MulticastLock is heldTied to provisioning profile
How to take it backn/an/a
Store policyNone listedApple reviews justification
APIWifiManager.MulticastLockBSD sockets, NWConnectionGroup
NotesAndroid 17 treats multicast and broadcast as local network trafficBonjour is exempt; raw multicast and broadcast need the entitlement

Data you get

What comes back: UDP multicast datagrams
Shape: stream
How often: continuous

FieldTypeUnitRangePrecision
packetSizeintegerbytesup to 1472 typical MTUNot listed

Technical limits

  • Requires Apple approval
  • Both platforms add local network prompts

The story

What it is

An app sends and gets messages to many devices at once on your local network.

For you

You do not see it. It is how your phone finds a smart speaker or a game host without typing an address. If an app uses it for scanning, it can see devices on the whole network.

For makers

Makers use it for fast discovery of nearby devices. Apple limits it because it can also be used to scan every device. Apps ask for approval and explain their reason.

Where you see it

TypeExampleApps
mediaA music or TV app announces itself on the network to find speakers.Sonos
gamesA local multiplayer game finds hosts on the same Wi-Fi without a server.None named
smart-homeA setup app broadcasts a message so a new device answers.Philips Hue
enterpriseA company tool finds printers and displays in the office.None named
developerA developer uses it to find test devices on a lab network.None named
securityA bad app sends discovery packets to map every device in a house.None named

Risks

  • LAN scanning
  • Device inventory

Android and iPhone in short

  • Android: Android apps need a multicast lock and can use it with the normal network permissions.
  • iPhone: iPhone needs a special entitlement from Apple that apps must request.

What the platform says

Good uses and abuse

Legitimate uses

  • Media discovery
  • IoT onboarding

Known abuse

  • LAN scanning

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2021-04, iPhone iOS 14.5: Multicast entitlement required for raw multicast and broadcast
  • 2026-06, Android 17 (API 37): Multicast counted as local network access

Sources

How well checked: Based on official documentation.

On this page