Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Shifty Geezer on August 28, 2015, 07:28:21 AM

Title: Not hosting on one Android device
Post 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).
Title: Re: Not hosting on one Android device
Post by: ArenMook on August 30, 2015, 03:39:10 PM
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.
Title: Re: Not hosting on one Android device
Post by: Shifty Geezer on June 29, 2016, 06:02:47 AM
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?
Title: Re: Not hosting on one Android device
Post by: ArenMook on July 01, 2016, 11:34:33 PM
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?