Tcp/ip

This is a discussion on Tcp/ip within the A Brief History of Cprogramming.com forums, part of the Community Boards category; For my final project for Comp Sci, I want to be able to play a game with 2-4 people at ...

  1. #1
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561

    Tcp/ip

    For my final project for Comp Sci, I want to be able to play a game with 2-4 people at a time on different computers. I'm guessing the best way to do this is through TCP/IP. Does anyone know of a book that explains TCP/IP and it's implementation in C++?

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    There is no implementation of TCP/IP in C++ (no default support that is) instead if you are doing this for a windows based system search the windows board for Winsock or TCP/IP
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  3. #3
    Unregistered
    Guest
    I'd rather have a book that I can hold on to, I perfer books. Anyone have any recomendations?

  4. #4
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    That last message was me.

  5. #5
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Why not go to amazon and search for one? Some people here are just either lazy or dumb!
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  6. #6
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    I did but there aren't many, and I'd like to see what people here find good. The amazon reviews have screwed me before.

  7. #7
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    I have a book called TCP/IP Unleashed which I found pretty good, but I can't say it is the best as I'm not familiar with any others!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  8. #8
    Registered User
    Join Date
    Oct 2001
    Posts
    104
    You need to learn about network programming. I suggest you learn about WinSock.
    Try this tutorial:
    http://www.cpp-home.com/downloads/tutorials/195.zip

    Also, at www.cpp-home.com there are a lot of other useful tutorias (including for network programming)

    And if you have any network programming questions, feel free to ask here:
    http://www.cpp-home.com/forums/list.php?f=10
    Ilia Yordanov,
    http://www.cpp-home.com ; C++ Resources

  9. #9
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    I thought UDP was better for games than TCP (less error checking) as did not matter about dropped frames.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  10. #10
    Registered User
    Join Date
    Jan 2002
    Posts
    381
    >>I thought UDP was better for games than TCP (less error checking) as did not matter about dropped frames.

    Half life uses tcp, however they recently added voice support with udp.
    But some servers block udp packets, so you have to be careful.
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tcp/ip chat
    By gopal_85 in forum C Programming
    Replies: 12
    Last Post: 12-12-2007, 10:55 PM
  2. help on tcp/ip device communcation..
    By cueball15 in forum Networking/Device Communication
    Replies: 1
    Last Post: 08-30-2005, 11:51 PM
  3. TCP/IP ethernet
    By arian in forum Networking/Device Communication
    Replies: 6
    Last Post: 05-22-2005, 08:05 PM
  4. TCP/IP and Win32 SDK Books
    By punkrockguy318 in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-22-2004, 08:45 PM
  5. Looking for a good C++ TCP/IP tutorial.
    By OmegaFirebolt in forum C++ Programming
    Replies: 2
    Last Post: 06-26-2002, 09:47 PM

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