[Solved]Cocos2d-x check internet connection availability

What is your OS? What Cocos2d-x version? What Android SDK?, etc, etc/

@Dharmesh,

You might have forgot to add CoreTelephony.framework Framework.

For More Info:

For windows, you can check internet and WWAN (for ex) with this in C++:

        using namespace Windows::Networking::Connectivity;
  auto connections = NetworkInformation::GetInternetConnectionProfile();
  bool isWWAN = connections && connections->GetNetworkConnectivityLevel() == NetworkConnectivityLevel::InternetAccess && connections->IsWwanConnectionProfile;
	return isWWAN;