The internet and C ++, is it possible?

This is a discussion on The internet and C ++, is it possible? within the Game Programming forums, part of the General Programming Boards category; I was wondering if it is possible to hook a C++ game up to the internet to allow multiple users ...

  1. #1
    Unregistered
    Guest

    The internet and C ++, is it possible?

    I was wondering if it is possible to hook a C++ game up to the internet to allow multiple users to paly at once. Is their a semi-easy way to do this?

  2. #2
    Satan valar_king's Avatar
    Join Date
    Aug 2001
    Posts
    288
    well how do you any games go online?

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    142
    yep, you could try and use DirectPlay,

  4. #4
    Sayeh
    Guest
    Well, I supposed you could get a book and learn how to write for TCP/IP yourself. Or purchase a library, or perhaps download a free one.

  5. #5
    Unregistered
    Guest
    hmmmmmm. I never thought about that... What about using telnet?

  6. #6
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    winsock

  7. #7
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Yes it is possible, in fact you can do and only have to add about 60 lines of code to your source. But, alas, I don't know what you are doing and won't be specific. Look up some winsock tutorials.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    5
    hm...... i cant find any winsock tutorials be to be more specific i am trying to make a text based mud. I know, I know, dowload a rom, but i want to be like the duki and make it myself for the learning experience...

  9. #9
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    ¿Red Baron?

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

    Check out my games!

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

  10. #10
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Originally posted by Sayeh
    Well, I supposed you could get a book and learn how to write for TCP/IP yourself. Or purchase a library, or perhaps download a free one.
    I agree with this. In addition when you think about it, your web browser was written in C++, the real question is whether or not the interent is possible without C++.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21