Boost.Asio C++ Network Programming
-
Free ChapterGetting Started with Boost.Asio
-
Boost.Asio Fundamentals
-
Echo Server/Clients
-
Client and Server
-
Synchronous Versus Asynchronous
- Synchronous Versus Asynchronous
- Mixing synchronous and asynchronous programming
- Passing client to server messages and vice versa
- Synchronous I/O in client applications
- Synchronous I/O in server applications
- Asynchronous I/O in client applications
- Asynchronous I/O in server applications
- Asynchronous operations
- Implementing proxies
- Summary
-
Boost.Asio – Other Features
-
Boost.Asio – Advanced Topics
Network programming is not new and it's no secret that it's not an easy task. Boost.Asio provides an excellent level of abstraction, making sure that with a minimal amount of coding you can create beautiful client/server applications, and have fun in the process!'Boost.Asio C++ Network Programming" shows how to build client/server applications using a library that is part of the popular peer-reviewed Boost C++ Libraries. It analyzes whether you should go synchronous or asynchronous and the role that threading plays, whilst providing examples you can run and extend for yourself.After covering the fundamentals of Boost.Asio you'll discover how you can build synchronous and asynchronous clients and servers. You will also see how you can have your own asynchronous functions play nice with Boost.Asio. As a bonus, we will introduce co-routines, which make asynchronous programming a piece of cake. Nowadays, network programming is a must, no matter what type of programmer you are. "Boost.Asio C++ Network Programming" shows just how simple networking can be, if you're using the right tools.
- Publication date:
- February 2013
- Publisher
- Packt
- Pages
- 156
- ISBN
- 9781782163268