|
Monitor the common internet utility ports for incoming traffic. But for a high-level script you could have a main timer set on 60 seconds or something, in which the script attempts to get the header response from a site that always is up, and then set a variable accordingly.
|