On 03/14/2018 07:14 PM, Tim wrote:
Joe Zeff:
Considering that not all computers use DHCP, NETWORK_LOCAL should probably include pinging the gateway but probably doesn't.
That still wouldn't prove the internet is accessible. My ISP could be failing, or suspended my account, or the cable between my gateway to my ISP unplugged, but my gateway would still be alive (in itself).
Of course it doesn't. That's why I specified NETWORK_LOCAL, not NETWORK_GLOBAL.