Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connected to internet...

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
i have a program that needs to know when the user is connected to the internet. sample code or something would be greatly appreciated,

thanks, cyprus Cyprus
 
There are 2 Options:
1. If you are connecting via a local network then you are connected permanent to the internet. The physical connection is handled by your gateway, Proxy Server....

2. If you use a dialup connection (RAS-Network), then use the command Rasdial. There is one option which returns the connection status. I can not check it because there is no RAS installed on my computer, but you may look in the manual or help site.


hnd
hasso55@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top