CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: C++ socketing

  1. #1
    Join Date
    Feb 2008
    Location
    Virginia
    Posts
    109

    Question C++ socketing

    I'm interested in learning socketing for both windows and Linux. I know I can use the built in api's of both systems to do this. I want to learn more about the client server models and learning more about the fuctions to call to. I've looked at a lot of books but date back pretty far and each book does things differently. So what my question is there a study group or site or book (that I haven't found) for making client server models for gaming that I could look at? or maybe some folks who want to group up and studdy this stuff or point me in the right direction.

    Sean
    Sean
    Programing 1
    Programing 2 (Spring this year)
    Eager Game Developer.

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

    Re: C++ socketing

    As a beginner, 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
    Feb 2008
    Location
    Virginia
    Posts
    109

    Re: C++ socketing

    Good stuff..Ty
    Sean
    Programing 1
    Programing 2 (Spring this year)
    Eager Game Developer.

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