Error on android

Options
davidan
davidan
edited September 2015 in Photon Bolt
Hi,

I tried to connect to my Zeus server and to start the example "Level1" scene with this little test script on my two android devices, but I always get the error "Could not resolve a possible LAN adress by inspecting local network interfaces" and after that, a few more lines appears, but then nothing happens.

The script works on my pc. For this test I use an empty project with default bolt settings (UPnP enabled, and I can't turn it off because of a bolt bug at the editor: "Win32 IO returned ERROR_ALREADY_EXISTS. Path").

So it would be nice if you could help me!
Thanks, David

Screenshot android device (4.4.2, wlan):



Test Script:
public class BMenu : Bolt.GlobalEventListener
{

    void Start()
    {
        BoltLauncher.StartServer();
    }
    public override void ZeusConnected(UdpKit.UdpEndPoint endpoint)
    {
        BoltNetwork.SetHostInfo("Test", null);
        BoltNetwork.LoadScene("Level1");
        Bolt.Zeus.RequestSessionList();
    }
    public override void BoltStartDone()
    {
        Bolt.Zeus.Connect(UdpKit.UdpEndPoint.Parse("xxxxxx:24000"));
    }
}

Comments

  • I dont think you can create a socket at 0.0.0.0 on android devices
  • davidan
    Options
    Thanks for your answer.
    What should I use as UDPEndPoint on android? 127.0.0.1:2700 doesn't work ("invalid argument"), the local device ip adress ("192.168.178.27:27000") gives the same error as above and completly different ip adresses gives "permission error".