Thread: Getting started with networking

  1. #1
    Registered User
    Join Date
    Aug 2019
    Location
    inside a singularity
    Posts
    308

    Getting started with networking

    I've had no idea about networking until recently (the last few days) and I just started using Asio for networking with C++. I've been reading online material and watching videos to get started but I'm finding a lot of things being thrown at me which I don't completely understand.

    Is there a good book on networking with C++ you guys may know of and would recommend that I could purchase? I have about 4-5 hours a day I could devote to learning networking other than my usual hours spent programming and learning. Any other tips regarding the same will be greatly appreciated. Thanks.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    It really is for C rather than modern C++, but I think that the concepts that Beej's Guide to Network Programming teaches can still serve as a good introduction to the topic.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Aug 2019
    Location
    inside a singularity
    Posts
    308
    Laserlight, thanks for the reference. Anything, C or C++, is going to look helpful to me as I've no clue about networking. Another question:

    I've seen the Winsock Windows API Library being used in a number of tutorials. Do I need to understand to use it for programming stuff for windows? Is learning to use any other library (like Asio/cURLpp) equivalently good enough? (I'm disgusted by the way code looks when using some windows library tbf)
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 07-30-2013, 01:28 AM
  2. Networking
    By ejholmes in forum Tech Board
    Replies: 2
    Last Post: 09-06-2004, 12:30 AM
  3. Networking help.
    By RealityFusion in forum Tech Board
    Replies: 9
    Last Post: 04-19-2004, 07:35 AM
  4. Beyond MFC : COM || Networking
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 04-25-2002, 04:28 PM
  5. Networking, API
    By neandrake in forum Windows Programming
    Replies: 0
    Last Post: 04-07-2002, 01:15 PM

Tags for this Thread