Thread: Connecting the the internet

  1. #1
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373

    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
    This war, like the next war, is a war to end war.

  2. #2
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    I'm assuming you're on windows, so try this link http://www.google.com/search?hl=en&i....microsoft.com
    In short, STFW.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    try searching around for sockets while your at it
    http://msdn.microsoft.com/library/de...ets_topics.asp
    Last edited by major_small; 12-04-2003 at 01:01 PM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  4. #4
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    I tried most of those, but they bring up the regular internet connection box that came with windows, and thats not what i want!
    This war, like the next war, is a war to end war.

  5. #5
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Then you should check out some low-level hardware communication stuff, wich may or may not work depending on your kernel. Still, search msdn. Something will come up.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  6. #6
    Registered User
    Join Date
    Oct 2003
    Posts
    2
    try looking at this website http://www.codeproject.com/internet/

    if I'm not mistaken, I found a source codes to create a dial-up connection quite some time ago. Maybe you could surf around and get an idea out of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can i force connecting to local web server via internet network ?
    By umen242 in forum Networking/Device Communication
    Replies: 5
    Last Post: 04-29-2008, 09:21 AM
  2. Connecting to Internet using Linux
    By bookworm in forum Tech Board
    Replies: 6
    Last Post: 09-29-2004, 01:31 PM
  3. Internet Problems
    By SirCrono6 in forum Tech Board
    Replies: 3
    Last Post: 04-26-2004, 09:47 PM
  4. XP Internet problems
    By Hunter2 in forum Tech Board
    Replies: 9
    Last Post: 09-18-2003, 08:56 PM