iOS18 UDP fails to send data, iOS other systems fine
Device discovery by broadcasting over UDP
Failed to send data to the discovered device using UDP communication
This problem only occurs on iOS18, other iOS versions work fine
I read the official forum of Apple, it is recommended to use BSD socket to send data, and it cannot be sent on iOS18. I suspect that the device privacy permission is found locally, which is invalid on iOS18