Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: Shifty Geezer on August 28, 2015, 07:28:21 AM
-
Anyone have experience of hosts not running on some devices? I can launch a host on my Nexus 7 fine, even the S3 Mini, but on the Galaxy Note 10.1 the host isn't detected by other machines (0 hosts discovered).
-
Assuming you mean LAN discovery, this is done by sending UDP broadcasts to the LAN. It won't work via carrier data as it doesn't allow UDP. TCP is just a much more reliable choice when it comes to mobile device support anyway.
-
A follow up. Still had this issue with a Wifi LAN game. On a lot of devices, a hosted server is undiscoverable to other devices. Just tried TNet.UdpProtocol.useMulticasting = true; and it makes the server discoverable.
Is there any reason not to use multicasting? Could it not be enabled by default?
-
I had issues with multicasting on the iOS back in 2014. That's why I defaulted it to 'false' on that platform. Are you saying it works fine now?