In this chapter, we'll cover what you definitely need to know when using Boost.Asio. We'll delve deeper into asynchronous programming, which is trickier than synchronous and is much more fun.
This section shows what you definitely need to know in order to write a networking application using Boost.Asio.
Everything in Boost.Asio resides in the
boost::asio namespace, or a sub-namespace of that:
boost::asio: This is where core classes and functions reside. The important classes are
streambuf. Here, we also have the free functions, such as
read_until, their asynchronous counterparts, and their write and asynchronous write counterparts.