|
-
April 5th, 1999, 08:25 AM
#1
Internet connection
Hi all,
Does anybody can tell me how I can decide wherher internet connection is making with phone line (via modem) or with local area network.
Regards,
Mileta.
-
April 23rd, 1999, 10:42 PM
#2
Re: Internet connection
Hi. Just a thought, but I believe there is a way to get access to the header information on each ip packet. If you obtained the MAC address from that header (it would be there) you might then be able to determine which device the packet was destined to use...(each device has a unique MAC address.) I have never done it myself or even tried, so take this suggestion with a grain of salt.
Good Luck
-
April 26th, 2001, 03:31 PM
#3
Re: Internet connection
HI Mileta
could you please help how to check internet connection in java. or which ever language you have used. Either send me code or logic so that i can write .
Hoping for a prompt reply
Thanks
vijay
[email protected]
-
April 26th, 2001, 05:54 PM
#4
Re: Internet connection
DWORD flags = INTERNET_CONNECTION_LAN
if(InternetGetConnectedState(&flags,0) )
//Lan connection
flags = INTERNET_CONNECTION_MODEM;
if(InternetGetConnectedStat(&flags,0);
//Modem connection
Regards,
Brandon Parker
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|