...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
The tutorial programs in this first section introduce the fundamental concepts required to use the asio toolkit. Before plunging into the complex world of network programming, these tutorial programs illustrate the basic skills using simple asynchronous timers.
The tutorial programs in this section show how to use asio to develop simple client and server programs. These tutorial programs are based around the daytime protocol, which supports both TCP and UDP.
The first three tutorial programs implement the daytime protocol using TCP.
The next three tutorial programs implement the daytime protocol using UDP.
The last tutorial program in this section demonstrates how asio allows the TCP and UDP servers to be easily combined into a single program.