O'Reilly logo

Boost.Asio C++ Network Programming - Second Edition by John Torjo, Wisnu Anggoro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Getting Started with Boost.Asio

We already know about the Boost C++ library in general. Now it is time to find out more about Boost.Asio, the library that we use to develop network applications. Boost.Asio is a collection of libraries that are used to process data asynchronously because Asio itself stands for Asynchronous I/O (input and output). Asynchronous means that a particular task in a program will operate without blocking other tasks and Boost.Asio will notify the program when it has finished carrying out that task. In other words, the task is executed concurrently.

In this chapter, we are going to discuss the following topics:

  • Distinguishing between concurrent and nonconcurrent programming
  • Understanding the I/O service, the brain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required