Modem Connection

MattNash
07-13-2001, 05:33 AM
I'm getting my new phone line installed this afternoon with my new 'evenings and weekends' free internet calls package, but there's a catch - if you're online for more than one hour then they start charging you.

What I need is a program to intiate a dial-up connection, then start a timer. After one hour I need it to close the connection and start again. I can do all the timer stuff, but I don't know how to open or close a dial-up connection.

Please someone help me.

Matt

KesleyK
07-13-2001, 09:34 AM
These are going to require API calls such as <font color=blue>InternetAttemptConnect</font color=blue> and <font color=blue>InternetCheckConnection</font color=blue>. Go [/url] for more info.

(http://www.allapi.net/><font color=purple>here</font color=purple) and [url="http://www.allapi.net/api/InternetCloseHandle.php><font color=purple>this</font color=purple"] might also help.

______
Cheers!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum