//
// Copyright (c) 2003-2026 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//

/**
\mainpage asio Tutorial

\section tuttimer Basic Skills

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.

\li \ref tuttimer1
\li \ref tuttimer2
\li \ref tuttimer3
\li \ref tuttimer4
\li \ref tuttimer5

The final tutorial programs in this section show how to use completion tokens,
and how to rewrite the timers using C++20 coroutines.

\li \ref tuttimer6
\li \ref tuttimer7
\li \ref tuttimer8

\section tutdaytime Introduction to Sockets

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 <a
href="http://www.ietf.org/rfc/rfc867.txt">daytime</a> protocol, which supports
both TCP and UDP. 

The first three tutorial programs implement the daytime protocol using TCP.

\li \ref tutdaytime1
\li \ref tutdaytime2
\li \ref tutdaytime3

The next three tutorial programs implement the daytime protocol using UDP.

\li \ref tutdaytime4
\li \ref tutdaytime5
\li \ref tutdaytime6

The next tutorial program in this section demonstrates how asio allows the TCP
and UDP servers to be easily combined into a single program.

\li \ref tutdaytime7

The remaining tutorial programs in this section rewrite the TCP server and
client using C++20 coroutines, and show how to add timeouts to operations and
test for errors without exceptions.

\li \ref tutdaytime8
\li \ref tutdaytime9
\li \ref tutdaytime10

*/
