We're developing an app, which has to maintain an internet connection to communicate with our Smartfox servers. Before connecting to our Smartfox, we need to know if there's a stable internet connection. We have tried several approaches, **Ping**, **WWW**, **Application.internetReachability**, but we haven't found a profound solution that runs great on both our release platforms (Android & iOS)
Maybe we're missing something here, but in our case, the **Ping** solution would be the most logical, since we can Ping directly to the IP-adress of our Smartfox-servers, but this approach has given us a lot of headaches, because it's really unpredictable on Android.
Any help/tips are greatly appreciated, just bear in mind that we have to have a continuous check if we are connected to the internet **(not just LAN)**
Thanks in advance
***btw: we're using Unity 3.5.7f6***
↧