All functions

apple_captive_test()

Download Apple's captive portal test

is_online()

Is the computer online?

my_ip()

Query the computer's public IP address

nsl()

DNS query

ping()

Ping a remote server, to see if it is alive

ping_port() is_up()

Check if a port of a server is active, measure response time