Boost.Asio C++ Network Programming Cookbook
By Dmytro Radchuk
Publisher: Packt Publishing
Final Release Date: January 2016
Pages: 248

Over 25 hands-on recipes to create robust and highly-efficient cross-platform distributed applications with the Boost.Asio library

About This Book

  • Build highly efficient distributed applications with ease
  • Enhance your cross-platform network programming skills with one of the most reputable C++ libraries
  • Find solutions to real-world problems related to network programming with ready-to-use recipes using this detailed and practical handbook

Who This Book Is For

If you want to enhance your C++ network programming skills using the Boost.Asio library and understand the theory behind development of distributed applications, this book is just what you need. The prerequisite for this book is experience with general C++11. To get the most from the book and comprehend advanced topics, you will need some background experience in multithreading.

What You Will Learn

  • Boost your working knowledge of one of the most reputable C++ networking libraries?Boost.Asio
  • Familiarize yourself with the basics of TCP and UDP protocols
  • Create scalable and highly-efficient client and server applications
  • Understand the theory behind development of distributed applications
  • Increase the security of your distributed applications by adding SSL support
  • Implement a HTTP client easily
  • Use iostreams, scatter-gather buffers, and timers

In Detail

Starting with recipes demonstrating the execution of basic Boost.Asio operations, the book goes on to provide ready-to-use implementations of client and server applications from simple synchronous ones to powerful multithreaded scalable solutions. Finally, you are presented with advanced topics such as implementing a chat application, implementing an HTTP client, and adding SSL support. All the samples presented in the book are ready to be used in real projects just out of the box.

As well as excellent practical examples, the book also includes extended supportive theoretical material on distributed application design and construction.

Style and approach

This book is a set of recipes, each containing the statement and description of a particular practical problem followed by code sample providing the solution to the problem and detailed step-by-step explanation. Recipes are grouped by topic into chapters and ordered by the level of complexity from basic to advanced.

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyBoost.Asio C++ Network Programming Cookbook

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top

(1 of 1 customers found this review helpful)


I would definitely recommend this book

By Victor Sigler

from Cuba

About Me Developer

Verified Reviewer


  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written


    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Boost.Asio C++ Network Programming Cookbook:

    [Disclosure: I am the Technical Reviewer on this book]

    "Boost.Asio C++ Network Programming Cookbook" is filled with real-world problems related to network programming that show the Boost.Asio library in motion. Is required have an intermediate-level of C++ network programming skills and some background experience in multithreading but each chapter of the book is structured in a way that you can understand deeply concepts in multithreading and networking programming in a really easy way.

    My personal favorite chapter, Chapter 2 is about I/O operations, show users how to merge concepts like end points, sockets and multithreading operations to read/write asynchronously or synchronously sockets using the library in a fast way. We can learn the network I/O operations using memory buffers that are essential ingredients of any application performing any type of I/O and it is critical for any developer developing a distributed application in this days.

    Every chapter contains the statement and description of a particular practical problem followed by code sample providing the solution to the problem and detailed step-by-step explanation making the final step of create distributed applications an understandable process through the use of the library.

    Displaying review 1

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $39.99
    Formats:  ePub, Mobi, PDF