Inscrit le : 28-08-2017
Nb de messages : 109
Nonblocking way to detect internet connectivity? (13-09-17 @ 15:43:15)
Otherwise, there's no way to test "Internet connectivity", as "Internet" is not a specific, "countable", term. However, you can invent any number of heuristics for that. For example, if I faced such an issue, I'd likely either try to open a connection to a specific site of the interest, or if really targetting "Internet", then would send a UDP datagram to some well-known server on the net and see if I get a reply. Google's DNS servers like 188.8.131.52 seem just right for that, and may be first step towards implementing the aforementioned async DNS resolver.
I didn't find the right solution from the internet.
- Sales Video Examples