Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question UDP & Discovery on LAN with iOS

Discussion in 'Scripting' started by Ascanio1980, Oct 16, 2021.

  1. Ascanio1980

    Ascanio1980

    Joined:
    Jun 7, 2019
    Posts:
    51
    Help. The devils at Apple have restricted the use of broadcasting, multicasting and UDP sockets on iOS (since 14.5 if I have understood correctly).

    I don’t have the skills to build native plugins to use Bonjour or DNSSD. Has anybody created an asset that will handle this? Is there any way to go around this in C# in Unity directly?
     
  2. Ascanio1980

    Ascanio1980

    Joined:
    Jun 7, 2019
    Posts:
    51
    Anybody?

    I can’t even get Unicast UDP to work.
    It does trigger the prompt request for permission by device user but then messages don’t get through (either in or out)