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


  Index du forum > Tous les forums > 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 > Tous les forums > Nonblocking way to detect internet connectivity?

  >  HAIDUK - Diabolica
  >  HAIDUK - Exomancer [cosmic black death]
  >  Hellfest : W4rm Up 7our Lyon Ninkasi kao
  >  Otep à Lyon (CCO)
  >  Mgla, Revenge et Doombringer à Lyon (CCO)









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