Accueil    Chroniques    Groupes    Concerts    Labels    Inscription    Forum    Staff    Liens  
Recherche : ok
    Login :    Pass :    


  Index du forum > Général > Discussions > Nonblocking way to detect internet connectivity?

johnnyhenderson
Warrior
Inscrit le : 28-08-2017
Nb de messages : 109

  profil  

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 8.8.8.8 seem just right for that, and may be first step towards implementing the aforementioned async DNS resolver.



Please Help.
Thanks !
I didn't find the right solution from the internet.
References:
-https://forum.micropython.org/viewtopic.php?f=2&t=3689
- Sales Video Examples





  Index du forum > Général > Discussions > Nonblocking way to detect internet connectivity?

  >  Need help finding a very specific metal band
  >   Folk metal without black metal vocals
  >  Personal preference or bad form?
  >  Piano Perfect Pitch?
  >  Piano Tuning?









En ligne : 7 visiteurs, 0 membre
Blackhearts Domain © 2003 - 2017 MDCinq
Ce site ayant une vocation exclusivement musicale, les opinions politiques ou religieuses n'ont pas leur place ici. Merci.