Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disconnected from internet
Message
From
17/11/2004 15:53:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00962119
Message ID:
00962383
Views:
8
>Hopefully someone can give me help with this - even though it has nothing to do with VFP.
>
>Does anyone know of a small utility that I can run in the background that will show me when I am dropped from the internet? I am using a Cable modem (nothing real fancy, just one computer connected to a hub which connects to the Cable modem), and in the last two days I have been disconnected several times for just a couple seconds.
>
>The only other thing connected to the hub is a Vonage Cisco box (VOIP), and this goes down also during these outages.
>
>The Cable company said from their records they can't see where I was ever dropped from the web, but I am positive I was - as the Vonage would disconnect and also I wasn't able to log into web sites.

Well, you could create a VFP app with a timer. When the timer fires, RUN the PING command (of some site that responds to PING, like yahoo.com). Redirect the output of PING to a text file. Parse that text file for the phrase "request timed out".

Does the connection simply disappear for a few seconds, then come back? If so, in order to catch an outage the timer interval will have to be short. The default PING command takes several seconds to run. If the connection stays off that would be easier to detect.

I think there are also threads here you can search which use the WinAPI to "check for Internet connectivity" or words to that effect.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform