CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    16

    TCP/IP for C++ books?

    I have been working out of the C++ primer plus book and feel I have good grasp of basic c++ and I am the type of person that learns by doing and I would like to start experimenting with socket code, maybe writing a simple cmd line chat app to start. Are there any books gear towards C++ guys that are up to date with the current std socket lib? Has the lib changed much over the years? Or is there a better lib I should be using for low level socket functions? Long term I would like to be able to work on a server side app that takes communicates with flash based apps.


    Any advice is welcome.

  2. #2
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: TCP/IP for C++ books?

    As a beginner, you are smart to start with purely console-style applications. That way, you will not be distracted by user-interface issues:

    "Beej's Guide to Network Programming" from Beej at http://beej.us/guide/bgnet/ . This is a good guide for beginners. Beej's guide is written primarily for Linux/Unix, but it's easily adaptable to Winsock/other OSs, since it uses basic ideas from the original BSD socket implementation.

    FAQ: "Where can I find examples of socket programs?" at http://www.codeguru.com/forum/showthread.php?t=326666 . Remember to confine yourself to the select-based console-style samples

    "Winsock Programmer's FAQ", under Section 6.1 "Basic Example Programs": http://tangentsoft.net/wskfaq/examples/basics/


    If gaming is your ultimate goal, then also:

    "Multiplayer and Networking Tutorials" at http://www.gamedev.net/reference/list.asp?categoryid=30 . Some of these are better than others, so be choosy

    Mike

  3. #3
    Join Date
    Sep 2008
    Posts
    16

    Re: TCP/IP for C++ books?

    There are MANY MANY books on amazon, they introduce a lot of books there! Staying on CG long will help you learn networking, and open source as well as MS's talents' show

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured