over 10 years ago
Following code will help in you to check the network availability for 3G and 4G connection
const char *host_name = "google.com"; BOOL _isDataSourceAvailable = NO; Boolean success; //Creates a reachability reference to the specified //network host or node name. SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL,host_name); //Determines if the specified network target is reachable //using the current network configuration. SCNetworkReachabilityFlags flags; success = SCNetworkReachabilityGetFlags(reachability, &flags); _isDataSourceAvailable = success && (flags & kSCNetworkFlagsReachable) && !(flags & kSCNetworkFlagsConnectionRequired); CFRelease(reachability); return _isDataSourceAvailable;
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)