If my connection to the LAN from Windows goes down, Windows knows about it.
If the connection from the router to the internet goes down, Windows has no
clue.
jm7
Rom Walton
<[email protected]
> To
Sent by: Nicolás Alvarez
<boinc_dev-bounce <[email protected]>, "David
[email protected] Anderson (BOINC)"
u> <[email protected]>
cc
BOINC Developers Mailing List
02/22/2010 06:49 <[email protected]>
PM Subject
Re: [boinc_dev] monitoring network
usage
Win7 and Vista both do some level of polling, the network connection center
changes icons when the internet connection goes down. I believe it polls
www.microsoft.com.
I haven't found any documentation yet that states that information is
publically available though. It wouldn't surprise me if it is part of the
SENS API set and I haven't found it yet though.
----- Rom
-----Original Message-----
From: [email protected] [
mailto:[email protected]] On Behalf Of Nicolás Alvarez
Sent: Monday, February 22, 2010 6:30 PM
To: David Anderson (BOINC)
Cc: BOINC Developers Mailing List
Subject: Re: [boinc_dev] monitoring network usage
On 2/22/10, David Anderson <[email protected]> wrote:
> Nicolás Alvarez wrote:
>> On 2/22/10, [email protected] <[email protected]> wrote:
>>> They tell you nothing about the connection of the LAN to
>>> the internet. They cannot even reliably tell if a computer has a
>>> connection to the internet.
>>
>> Do you know of any API in any operating system that can do that?
>
> We looked very hard for such an API and never found one.
> That led to the "reference site" thing.
My question was a bit rhetorical.
it's not *possible* for an OS to reliably know if there is an Internet
connection
without either polling a known site (bad idea to implement in an
operating system, it'd be a DDoS to the poor "known site"),
or having a zillion plugins for the different ways an Internet
connection may be set up (eg. for my connection, you'd have to
HTML-scrape http://192.168.100.1/, the web configuration page of my
Motorola SurfBoard cable modem), which is totally impractical.
--
Nicolas
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.