in reply to How can I watch for an active internet connection

that is platform dependent.
for windows you will need to check a registry key (not sure which, but i can find out if you want).
  • Comment on Re: How can I watch for an active internet connection

Replies are listed 'Best First'.
Re^2: How can I watch for an active internet connection
by boat73 (Scribe) on Dec 30, 2004 at 19:49 UTC
    Sorry, should have said I am using windowz. That would be great, thanks. So the reg entry actualy tells you if the connection is live, interesting.
      after rereading the thing i found that the registry-key is only true for dialup-connections.
      afaik, there is no way to detect wether the computer is connected via LAN.
        well, that is actualy what I need it for. Could you tell me the reg key?