is_online {pingr} | R Documentation |
Ping some name servers that are always (well, almost) up. If these are unreachable, then you are most probably not online.
is_online(timeout = 0.2)
timeout |
Timeout for the pings. |
Possible values:
TRUE
Yes, online.
FALSE
No, not online.
"nodns"
We re online, but without a DNS service.