"Network is connected" can over a lot of ground, and diagnosing the various ways that a network can be "down" can be difficult. If you constraint your requirements to mean "can I connect to the outside world," the problem gets simpler. Merely try to open a socket to a known IP address/port. Say, to a known DNS server. If you can't reach the DNS server, the DNS server itself could be down, but more likely the problem is with cables/routers/whatever.
In reply to Re: Network or no network???... That is the question!
by dws
in thread Network or no network???... That is the question!
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |