Book Image

Boost.Asio C++ Network Programming

By : Wisnu Anggoro
Book Image

Boost.Asio C++ Network Programming

By: Wisnu Anggoro

Overview of this book

Table of Contents (15 chapters)
Boost.Asio C++ Network Programming Second Edition
Credits
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Wrapping the network code


For our convenience, let us create a wrapper for a networking application. In using this wrapper, we do not need to reuse our code over and over again; thus, making our programming process simpler and more efficient. For now, just create two files called wrapper.h and wrapper.cpp, and we will include them in the compilation process in our next code. Because the source codes are quite long in length and will not be convenient to print in this book, I have made them into downloadable files that you can access in this book's repository at www.packtpub.com/networking-and-servers/boostasio-c-network-programming-second-edition. Go to the Code Files section.