forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


online-status

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
attreus
Valued Newbie


Joined: 30 Jul 2002
Posts: 46
Location: Berlin/Germany

PostPosted: Fri Aug 30, 2002 2:32 am    Post subject: online-status Reply with quote

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
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Aug 30, 2002 11:36 am    Post subject: Reply with quote

Hi there,

Might want to look at this thread Wink

http://www.vdsworld.com/forum/viewtopic.php?t=245


Have a good day....
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
attreus
Valued Newbie


Joined: 30 Jul 2002
Posts: 46
Location: Berlin/Germany

PostPosted: Fri Aug 30, 2002 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Fri Aug 30, 2002 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
attreus
Valued Newbie


Joined: 30 Jul 2002
Posts: 46
Location: Berlin/Germany

PostPosted: Fri Aug 30, 2002 7:19 pm    Post subject: Reply with quote

hi hortalnus,

that sounds good but where do i find the right gateway-settings in registry?

attreus
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Fri Aug 30, 2002 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
attreus
Valued Newbie


Joined: 30 Jul 2002
Posts: 46
Location: Berlin/Germany

PostPosted: Sat Aug 31, 2002 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group