473,654 Members | 3,066 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5969
Have you looked into using WMI?

"Bob" <no****@nowhere .com> wrote in message
news:Od******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP10.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******** ******@tk2msftn gp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eh******** ******@TK2MSFTN GP10.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******** ********@tk2msf tngp13.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******** ******@tk2msftn gp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eh******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP12.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********@inh ell.net> wrote in message
news:uM******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP12.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******** ********@tk2msf tngp13.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******** ******@tk2msftn gp13.phx.gbl...
That's why I posted the question.

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eh******** ******@TK2MSFTN GP10.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
3641
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 either in "online" or "offline" mode (it keeps a cache of downloaded info, so it can work without a connection if needed). The basic problem is this: it downloads info (RSS feeds) from a variety of sources. Any one (or more) of these could...
0
1828
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 stable release and once activated it requested access to the net. Without access it would come up with recognition and 'localhost' connection errors? Can anyone please tell me:
1
19564
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 image to load fullscreen on the second monitor as well. I am using 800x600 resoution on both. If I use: function openWindow()
1
4234
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. From the log it looks like the problem happens when 2 threads insert 1 record each in the same table and then try to aquire a NS (Next Key Share) lock on the record inserterd by the other thread. Thanks Rohit
15
2696
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
3276
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
3221
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 build information: DB2 v8.1.0.96 s050811 SQL08023 timestamp: 2007-02-15-01.37.12.101223 instance name: db2inst1.000
5
14809
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 huge problems with slow connect times and heavy resource locking in high concurrency / high transaction volume environments. I have an OLTP with 30-90 transactions per second activity, and start of Health Monitor every 2 hours was crashing our...
3
2237
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 (the databases are then viewed by our customers through a web interface). The problem is that recently, and as we've been adding more customers i.e. more application instances, our local area network and Internet connection appear to have slowed down...
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.