Internet connection listener

I think an internet connection listener would be very handy in Cocos2d-x which returns wi-fi/network internet availability in real time. What do you think?
@zhangxm @mannewalis @ricardo @nite @slackmoehrle @doanhieuthien @iQD

3 Likes

Yes, this would be very handy, but an implementation would need to handle various scenarios like:

  • Connection availability
  • Blocked packets by firewalls
  • NAT types and issues

You could have an internet connection available, but still packets could be blocked by various scenarios.

There is always a way, isn’t there? :slight_smile:

Sure, but if it’s some firewall or NAT issue, it’s on the user to solve it. It’s not in the realm of “try to enable your wifi connectivity” :wink:

@hgokturk Please, there is no need to tag so many people in these posts. Especially @zhangxm @mannewalis @ricardo @nite These folks have a lot of work to do. If you want to tag me, fine, and if there becomes a need to consult someone else we can look them in at that time.

If you want to see new functionality in the engine, please create an issue here

I really didn’t understand the feature request. please add more context, use case, etc.