gwalters
Sep 23rd, 2003, 08:56 PM
I use a modem to connect to the internet from home so it isn't fesable to be connected 24/7. I wrote a program that listens for the phone to ring twice, pick up the phone, hang it up, close the modem, and connect to the internet. The command I use is:
SHELL rasdial /PHONE:(IP PHONE #) (MY LOGIN) (MY PASSWORD)
The program works great, listens for the phone, hangs up and all but when it gets to the rasdial part there is an error saying the modem is still in use. How can I open the modem for other apps when Im done using it and get rasdial to work while my programs is still running but not using the modem?
** Here's the source**
http://www.geocities.com/enderthexenocide2005/MODEM2.zip
SHELL rasdial /PHONE:(IP PHONE #) (MY LOGIN) (MY PASSWORD)
The program works great, listens for the phone, hangs up and all but when it gets to the rasdial part there is an error saying the modem is still in use. How can I open the modem for other apps when Im done using it and get rasdial to work while my programs is still running but not using the modem?
** Here's the source**
http://www.geocities.com/enderthexenocide2005/MODEM2.zip