Android as host not working, Unity LLAPI
<p>so i'll try my best to post this properly. I asked this before on unity forums, but i didn't found an answer yet, here is the <a href="http://forum.unity3d.com/threads/llapi-problems-on-android.430899/" rel="nofollow">link</a> if you want it.</p>

<p>I have a working demo of a Server side broadcasting and Client reciving the message parsing and using the info to connect to the server.</p>

<pre><code> NetworkTransport.Init();
 NetworkTransport.AddHost(defaultTopology, PORT)
 NetworkTransport.StartBroadcastDiscovery(id,broadcastport,..,..)
 NetworkTransport.Receive(..,..)
 NetworkTransport.Connect(..,..)
</code></pre>

<p>etc. I can go on further detail on code if you want it, but as far as its working on PC fine I think the code is fine.</p>

<p>When I try the same with <strong>PC as server, Android as Client</strong>, if the Android device act as a client, he don't recieve the broadcast from the server but i can connect manually(i know the IP of my local machine) and i can send and recieve messages.(This is okay except for the broadcast problem that would be nice to fix)</p>

<p>If the <strong>Android act as Server and PC client</strong>, the PC recieves the broadcast but can't connect to the Android neither automatically nor manually.</p>

<p>I tested with 2 Androids an the results are bad too.
The client didn't recieve the broadcast and if I try the manual connection the server didn't recieve the connect event. The main goal is using 2 androids.</p>

<p>I searched for problems with the Network and Unity but i only found some people talking about the Android Manifest but not saying exactly what to do about. If you can point me to the correct direction with this i would apreciate.</p>

<p>Also maybe the Android 6 permissions have something to do with that?</p>

<p>I personally think that the android cant recieve nothing until is conected, so when he acts as Client he don't recieve the broadcast but can connect and then works fine, but as a Server he cant recieve the connection.</p>

<p>Maybe has something to do on Android Ports? I usually use 25001.</p>

<p>Using Unity 5.3.5f1</p>

<p>Thanks and sorry for my poor english.</p>

<p><strong>Edit:</strong> 
I changed to Unity 5.4 to check about Android 6 permisions and isn't working too.
You have a demo <a href="https://www.dropbox.com/s/ig3z9z9iljt0wl4/NetTest.rar?dl=0" rel="nofollow">here</a> if you want to try
Is an isolation from another project so maybe you find comented delegates and other stuff.</p>