Multicast networking
Sends and receives multicast and broadcast traffic on the local network.
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
| Android | iPhone | |
|---|---|---|
| Status | Supported | Behind a flag |
| First version | Android 4.1 (API 1) | iOS 14.5 |
| Permission or entitlement | CHANGE_WIFI_MULTICAST_STATE (normal) | com.apple.developer.networking.multicast |
| Protection level | normal | entitlement |
| How access is granted | install | entitlement |
| What the user sees | None (Android 17 local network permission also applies) | Apple request form; local network prompt also applies |
| How long it lasts | While MulticastLock is held | Tied to provisioning profile |
| How to take it back | n/a | n/a |
| Store policy | None listed | Apple reviews justification |
| API | WifiManager.MulticastLock | BSD sockets, NWConnectionGroup |
| Notes | Android 17 treats multicast and broadcast as local network traffic | Bonjour is exempt; raw multicast and broadcast need the entitlement |
Data you get
What comes back: UDP multicast datagrams
Shape: stream
How often: continuous
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
packetSize | integer | bytes | up to 1472 typical MTU | Not 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
| Type | Example | Apps |
|---|---|---|
| media | A music or TV app announces itself on the network to find speakers. | Sonos |
| games | A local multiplayer game finds hosts on the same Wi-Fi without a server. | None named |
| smart-home | A setup app broadcasts a message so a new device answers. | Philips Hue |
| enterprise | A company tool finds printers and displays in the office. | None named |
| developer | A developer uses it to find test devices on a lab network. | None named |
| security | A 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
- Apple: Multicast entitlement. Apple requires special approval before apps can use multicast and broadcast on a local network.
Good uses and abuse
Legitimate uses
- Media discovery
- IoT onboarding
Known abuse
- LAN scanning
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough 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
Related capabilities
Related
- Local network access. Can talk to devices on your home or office network, after you tap Allow
Sources
How well checked: Based on official documentation.