Best way to check if there is internet?
Abdur-Rahmaan Janhangeer
arj.python at gmail.com
Mon Feb 7 04:17:27 EST 2022
Greetings,
Using the standard library or 3rd party libraries, what's the
best way to check if there is internet? Checking if google.com
is reachable is good but I wonder if there is a more native,
protocol-oriented
way of knowing?
Even this URL recommends checking if a domain is up as a way to check for
internet connectivity:
https://www.ibm.com/support/pages/checking-network-connectivity-when-using-python-and-ibm-resilient-circuits
Kind Regards,
Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
More information about the Python-list
mailing list