Menu

Home

Chris Kohlhoff

asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.


Project Members:


Discussion

  • Abbasi

    Abbasi - 2019-02-02

    Hello to all,

    I'm a C++ programmer and just came here. I would like to use C++ socket programming and for that goal I've chosen Asio (non-boost).
    I found this place through the Asio website and have a question regarading learning Asio.

    As a C++ programmer and software engineer I suppose C++ socket programming will be so needed and required for many applications. The problem with me is that I have almost no knowledge of socket programming from before, and want to start learning Asio.

    I searched the Web and found many tuts related to Asio but all are boosted version of Asio. While I'm interested in the non-boost Asio.

    My quesion is that how to learn non-boost C++ Asio as a begineer?
    Is there any book/tut to teach newcommers of non-boost Asio?
    If so, please introdue that to me to start learning.
    Thanks in advance.

     
    • Ivan

      Ivan - 2019-02-03

      I have no idea why I've this question in my feed, but since I did, here's the answer:
      Boost and standalone variants are basically the same, except few differences, all of which are documented here: https://think-async.com/Asio/AsioAndBoostAsio.html
      So you can follow almost any tutorial on the internet, as long as you correctly replace the namespace and macro prefixes.

       
  • Ivan

    Ivan - 2019-02-03

    .

     

    Last edit: Ivan 2019-02-03
  • Abbasi

    Abbasi - 2019-02-04

    thanks for your answer and sorry if I'm mistaken about sending questions here. I though here was the wiki part for asking questions on Asio.

    as long as you correctly replace the namespace and macro prefixes.

    Does it mean that all what I need to learn non-Boost Asio by a Boost-Asio referece/tutorial is to replacing the namespaces and macros between the two? If so, that would be very easy and good news. :)

     

    Last edit: Abbasi 2019-02-04

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.