PacktLib: Boost.Asio C++ Network Programming

Boost.Asio C++ Network Programming

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Boost.Asio

What is Boost.Asio?

Synchronous versus asynchronous

Exceptions versus error codes

Threading in Boost.Asio

Not just networking

Timers

The io_service class

Summary

Boost.Asio Fundamentals

The Network API

Asynchronous programming

Staying alive

Summary

Echo Server/Clients

TCP Echo server/clients

UDP Echo server/clients

Summary

Client and Server

The synchronous client/server

The asynchronous client/server

Summary

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

std streams and std buffer I/O

Co-routines

Summary

Boost.Asio – Advanced Topics

Asio versus Boost.Asio

Debugging

SSL

Boost.Asio Windows features

Boost.Asio POSIX features

Summary

Index