Thread: Is it possible to make my DOS C programs interface with the internet?

  1. #1
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    Question Is it possible to make my DOS C programs interface with the internet?

    I have no idea... It's probrably stupid tho!
    Kree'ta Tau'ri! Chaapa'ai!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    You need a TCP/IP stack which implements the protocols which allow you to talk to the net.

    I've seen a couple of $$$ implementations, but never anything free.

    It's usually just a lot easier to use Win32 or Unix/GNU-Linux

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    You can also use cygwin under DOS (well, Windows Console anyway). Then you can use this tutorial and code.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    thanx, but...

    Thanx peeps, but the windows thing is the problem - It has to run under pure DOS...
    Kree'ta Tau'ri! Chaapa'ai!

  5. #5
    Unregistered
    Guest

    Re: thanx, but...

    Originally posted by Unimatrix139
    Thanx peeps, but the windows thing is the problem - It has to run under pure DOS...
    well first of all you have to worry about the bigger problem of finding a network card driver and tcp/ip stack implimentation for dos (or write your own, ewwwwwwwwwwwww)

  6. #6
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    and then windows xp and win2k arn't able to run dos programs...
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  7. #7
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by red_baron
    and then windows xp and win2k arn't able to run dos programs...
    Yes, but unreg is running DOS...
    It has to run under pure DOS...
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  8. #8
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    i had a friend who could post fake game scores to the internet with a program...i'll ask him for you
    .

  9. #9
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    Talking :)

    Thanx, civix! (it's probrably really obvious I'm new to this stuff!)
    ... Whats a tcp/ip stack thingie? I know TCP/IP is a protocol, but thats about it!
    Kree'ta Tau'ri! Chaapa'ai!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 06:15 AM
  2. Programs run in dos. Why not windows?
    By marcusbankuti in forum C++ Programming
    Replies: 15
    Last Post: 08-11-2002, 07:33 PM
  3. Replies: 2
    Last Post: 12-31-2001, 08:23 PM
  4. programs to make
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 10-31-2001, 09:22 AM
  5. Menus in DOS programs
    By codewarrior in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-09-2001, 06:19 AM