Connecting the the internet
I would like to make a program that connect to the internet, but i can't find out how to do so.
i figured out how the program would run, but i dont know how to actually dial out.
Heres how i planned it:
on first running:
get the host name (aol, infoave, etc);
get the number;
get the user password;
then make a file with the information, connect, when connected, output the modems command things, like connected to host <hostname> etc, and recording that to a file for troubleshooting.
On second run, get the information from the file, if any errors, reenter;
do the same thing.
But for now i just want to connect to the internment and disconnect. can i do that in console mode?
Thanks in advance