473,322 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

pingable IP to monitor internet connection stability

Bob
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?

Bob

Nov 20 '05 #1
8 5959
Have you looked into using WMI?

"Bob" <no****@nowhere.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?

Bob

Nov 20 '05 #2
* "Bob" <no****@nowhere.com> scripsit:
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?


What if google is "out of service" and doesn't reply to your ping? Then
you would assume that there is no internet connection even if all other
websites can be reached.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
Bob
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
* "Bob" <no****@nowhere.com> scripsit:
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?


What if google is "out of service" and doesn't reply to your ping? Then
you would assume that there is no internet connection even if all other
websites can be reached.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Nov 20 '05 #4
I think the point he is saying is there is no guaruntee that one IP is going
to be up 100% of the time..

That woudl mean a series of routers would have to be up 100%.. which as you
move through the "internet chain" would require every router to be up and
functioning at 100% of the time...

simply, the problem isn't the IP address to ping, however the stability of
all the connections between you and the IP...

oooohhhhh philsophical even... =)
"Bob" <no****@nowhere.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
* "Bob" <no****@nowhere.com> scripsit:
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?


What if google is "out of service" and doesn't reply to your ping? Then
you would assume that there is no internet connection even if all other
websites can be reached.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #5
Bob
Irrelevant since I can just use multiple IP addresses.My question remains
unanswered.

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I think the point he is saying is there is no guaruntee that one IP is going to be up 100% of the time..

That woudl mean a series of routers would have to be up 100%.. which as you move through the "internet chain" would require every router to be up and
functioning at 100% of the time...

simply, the problem isn't the IP address to ping, however the stability of
all the connections between you and the IP...

oooohhhhh philsophical even... =)
"Bob" <no****@nowhere.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
* "Bob" <no****@nowhere.com> scripsit:
> I'd be pinging for 24 hours at 3 second intervals. Are there any IP
> addresses out there that exist just for pinging, if not, would it be
> considered rude to pick a major site such a google?
>
> Or - let me back up here - is there some other, better way to monitor > internet connection stability using .Net?

What if google is "out of service" and doesn't reply to your ping? Then you would assume that there is no internet connection even if all other websites can be reached.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



Nov 20 '05 #6
I suggest you ask your ISP if they have a server which you can ping
frequently. The most typical problem is the first hop, so if you can reach
any server at your ISP, then you are 'connected' to your ISP. If that
succeeds, then pick 3 or 4 major sites and ping them at a much slower
interval (~ 2 minutes); then use the results to vote on whether your ISP is
connected to the Internet.

Another option: use SNMP to retrieve the outgoing and incoming byte counts,
on the WAN port of your router/firewall. If the answers freeze at the same
number, then the link is down.
"Bob" <no****@nowhere.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
I'd be pinging for 24 hours at 3 second intervals. Are there any IP
addresses out there that exist just for pinging, if not, would it be
considered rude to pick a major site such a google?

Or - let me back up here - is there some other, better way to monitor
internet connection stability using .Net?

Bob

Nov 20 '05 #7
Bob
Sounds like you speak from experience. Thanks :)

"Gavin Jacobs" <no********@inhell.net> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
I suggest you ask your ISP if they have a server which you can ping
frequently. The most typical problem is the first hop, so if you can reach
any server at your ISP, then you are 'connected' to your ISP. If that
succeeds, then pick 3 or 4 major sites and ping them at a much slower
interval (~ 2 minutes); then use the results to vote on whether your ISP is connected to the Internet.

Another option: use SNMP to retrieve the outgoing and incoming byte counts, on the WAN port of your router/firewall. If the answers freeze at the same
number, then the link is down.


Nov 20 '05 #8
How on earth do you consider that irrelevant? The stability isn't dependent
on the server your pinging, but the routers in between

Whether or not yo ping multiple ip addresses your going to be faced with the
resounding question "what determines if its actually 'down'" Just because
you can't reach a series of hosts doesn't mean you've lost connection, just
no route is possible at the time. At which point does that qualifiy "no
connection"

If I were to do it, get your default gateway through WMI or another method,
ping that.. if you get no response.. your down...

"Bob" <no****@nowhere.com> wrote in message
news:O4**************@TK2MSFTNGP12.phx.gbl...
Irrelevant since I can just use multiple IP addresses.My question remains
unanswered.

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I think the point he is saying is there is no guaruntee that one IP is

going
to be up 100% of the time..

That woudl mean a series of routers would have to be up 100%.. which as

you
move through the "internet chain" would require every router to be up and
functioning at 100% of the time...

simply, the problem isn't the IP address to ping, however the stability of all the connections between you and the IP...

oooohhhhh philsophical even... =)
"Bob" <no****@nowhere.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
> * "Bob" <no****@nowhere.com> scripsit:
> > I'd be pinging for 24 hours at 3 second intervals. Are there any IP > > addresses out there that exist just for pinging, if not, would it be > > considered rude to pick a major site such a google?
> >
> > Or - let me back up here - is there some other, better way to

monitor > > internet connection stability using .Net?
>
> What if google is "out of service" and doesn't reply to your ping? Then > you would assume that there is no internet connection even if all other > websites can be reached.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>


Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Cliff Wells | last post by:
Hi, I'm writing an application that needs to know if an Internet connection is available. Basically, I want to have something similar to what a lot of email clients have, where the app can work...
0
by: Pete | last post by:
Hi All, A total Newby with, possibly, a daft question? However, until I can get a reasonable explanation I am disinclined towards going further. Here goes: I recently downloaded the latest...
1
by: HockeyTownUSA | last post by:
I am working a project where I am using two monitors and using HTML/Javascript to display the information I want. I have my main stuff on the main monitor, but when each page loads, I want an...
1
by: Rohit Raghuwanshi | last post by:
Hello all, we are running a delphi application with DB2 V8.01 which is causing deadlocks when rows are being inserted into a table. Attaching the Event Monitor Log (DEADLOCKS WITH DETAILS) here....
15
by: Jim Hubbard | last post by:
Is it possible to emulate a monitor (create a virtual monitor) using vb.net? Any code snippets or pointers to helpful articles would be very much appreciated.
2
by: Reny | last post by:
Hi, I want to develop an internet usage monitor program in vb.net and monitor the time the user spend on internet etc. Can any one give me a clue on how to code it? Reny
4
by: onedbguru | last post by:
DB2Connect Informational tokens are "DB2 v8.1.0.96", "s050811", "U803921", FixPak "10". I am getting txxxxxx.0000 files approximately every 14 minutes that look like: <Trap> <Header> DB2...
5
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause...
3
by: adlloyd | last post by:
Hi all, I've got 4 servers running several instances (about 12) of an application. This application receives information from and external source and uploads it to a remote SQL Server database...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.