| View previous topic :: View next topic |
| Author |
Message |
attreus Valued Newbie

Joined: 30 Jul 2002 Posts: 46 Location: Berlin/Germany
|
Posted: Fri Aug 30, 2002 2:32 am Post subject: online-status |
|
|
good morning,
first i wanna say, be sure i've been searching this forum around for possible answers to this request.
i've got a 3-computers-home-network. each one of this can connect to the internet directly via a-dsl by its own. if one of the three computers already is connected, this one is the proxyserver for the other ones. so then any others will be clients if they boot up and connect.
actually i'm working on a vdsscript that will be runnig on each of that comps to determine the online-status of it. the script has to find out if the machine it's running on is connected to the web directly or via an other computer.
i tried the vdsonline. dll, but it's only usefull for the server.
now my question: is there a way (maybe usin' the registry ?) to determine how, not if, a computer is connected to the web?
best regards
attreus |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
|
| Back to top |
|
 |
attreus Valued Newbie

Joined: 30 Jul 2002 Posts: 46 Location: Berlin/Germany
|
Posted: Fri Aug 30, 2002 1:12 pm Post subject: |
|
|
thanks marty,
but i already read this thread. it didn't help me.
what i'm looking for is how a program, e.g. i-explorer, finds out if the comp it's running on, is self connected or via network.
attreus |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Aug 30, 2002 2:35 pm Post subject: |
|
|
You might be able to tell by checking the gateway setting of the machine. If it's connected through another node on the LAN, the gateway should be the computer on the LAN that is connected directly via ADSL.
If this is so, you could check if the gateway setting is any of the three IP addresses of your local machines. |
|
| Back to top |
|
 |
attreus Valued Newbie

Joined: 30 Jul 2002 Posts: 46 Location: Berlin/Germany
|
Posted: Fri Aug 30, 2002 7:19 pm Post subject: |
|
|
hi hortalnus,
that sounds good but where do i find the right gateway-settings in registry?
attreus |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Aug 30, 2002 8:50 pm Post subject: |
|
|
I have WinXP Pro and I can find mine under the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{F192F94C-55DF-46C9-B96A-B0D2826E9208}\Parameters\Tcpip
The {F192F94C-55DF-46C9-B96A-B0D2826E9208} value is my network adapter ID. I'm not sure about other versions of Windows. I just did a search for the IP of my gateway in the registry. |
|
| Back to top |
|
 |
attreus Valued Newbie

Joined: 30 Jul 2002 Posts: 46 Location: Berlin/Germany
|
Posted: Sat Aug 31, 2002 1:56 am Post subject: |
|
|
that key doesn't exist on my computer(w2k). if i search for the ip of one of the two other computers, it is only to find in the proxy-settings, but they don't change.
thanx anyway hortalonus |
|
| Back to top |
|
 |
|