169.254.255.255 doesn't broadcast ?

According to Section 2.6.2 of RFC 3927, 169.254.255.255 is the broadcast address for the Link-Local prefix.

This does not seem to work in macOS; what I see in WireShark are ARP messages "Who has 169.254.255.255?". Which obviously doesn't work.

I'm on macOS 12.4 / Xcode 13.4. Same code works fine in Linux (Ubuntu 20.04).

Anybody have any ideas?

It still has to find the broadcaster by mac-address by asking who is the broadcaster.

When dealing with broadcasts you really need to specify what interface to use, especially for the link-local address because multiple interfaces can be running link-local address simultaneously. If you’re using BSD Sockets, that means IP_BOUND_IF.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

169.254.255.255 doesn't broadcast ?
 
 
Q