How can I send packet from ios app to other platform device with bsd socket?

I'm creating an app that uses broadcasts using sockets.

But there's something strange about it.

It is possible to send packets from other platforms like mac and windows and receive them in iOS, but it's impossible to receive packets from iOS in other platforms.

iOS -> Other (OK) Other -> iOS (Not OK)

If ios app send packet, it can't receive any bytes in other platforms.

Communication between iOS devices is no problem, and there is no problem between other platforms too.

For example, iPhone apps and iPad apps can communicate, and Macbook and Windows can communicate in the same way.

However, iPhone and mac cannot communicate.

I use UDP, ipv6, Broadcast, address: ff02::1, port: 14001

What is wrong with sending from the ios to another platform?

Replies

Lemme start with some fundamentals: Why are you sending broadcast packets between devices? Are you implement some sort of service discovery, that is, you’re sending a broadcast to discover other copies of your app on the local network?

Share and Enjoy

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

I'm creating an app that students and teachers can watch together on their own mobile devices in class.

My app has a 3D model in it and if one person moves it, I want it to move exactly same way on every student's device .

Apps communicate using the same Wi-Fi, but it needs a broadcast connection when connecting devices for the first time.