Network.framework enhancement: support multicast UDP

During the Network.framework session at WWDC 2018 it was briefly mentioned that we should reach out on any use cases involving multicast UDP. We use it for device discovery via SSDP:


https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol


It would be great to be able to implement that code using Network.framework.


Enhancement request: 41297604


Thanks!

Enhancement request: 41297604

Thanks for filing that ER. I had a quick look and it’s definitely landed in the right place.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I was pulling out my hair trying to figure out why NWListener would be able to receive UDP messages when listening on addresses "0.0.0.0" and "224.0.0.1", but not "239.255.255.250" (SSDP). Now it is clear.

Would be nice to know how this ER is progressing.


Thanks!

+1 for this! We were just about to look at the new Network framework for exactly this use case.

Would be nice to know how this ER is progressing.

I don’t have any concrete info to share on that front.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
The macOS 11/iOS 14 beta includes support for multicast in Network.framework: https://developer.apple.com/documentation/network/nwconnectiongroup

Note that in iOS 14, using multicast directly does require an entitlement:
https://developer.apple.com/documentation/network/nwmulticastgroup
Network.framework enhancement: support multicast UDP
 
 
Q