Summary

We have successfully serialized the io_service object's work by using the strand object, so we can ensure the order of work we have designed. We can also ensure our program will run smoothly without any crashes by using error and exception handling. Lastly, in this chapter, we discussed the waiting time, since this is important when creating a network application.

Now, let us move on to the next chapter to talk about creating a server-client application that will make communication possible between two parties, the server and the client.

Get Boost.Asio C++ Network Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.