1// 2// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 3// 4// Distributed under the Boost Software License, Version 1.0. (See accompanying 5// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6// 7 8/** 9\mainpage asio Tutorial 10 11\section tuttimer Basic Skills 12 13The tutorial programs in this first section introduce the fundamental concepts 14required to use the asio toolkit. Before plunging into the complex world of 15network programming, these tutorial programs illustrate the basic skills using 16simple asynchronous timers. 17 18\li \ref tuttimer1 19\li \ref tuttimer2 20\li \ref tuttimer3 21\li \ref tuttimer4 22\li \ref tuttimer5 23 24\section tutdaytime Introduction to Sockets 25 26The tutorial programs in this section show how to use asio to develop simple 27client and server programs. These tutorial programs are based around the <a 28href="http://www.ietf.org/rfc/rfc867.txt">daytime</a> protocol, which supports 29both TCP and UDP. 30 31The first three tutorial programs implement the daytime protocol using TCP. 32 33\li \ref tutdaytime1 34\li \ref tutdaytime2 35\li \ref tutdaytime3 36 37The next three tutorial programs implement the daytime protocol using UDP. 38 39\li \ref tutdaytime4 40\li \ref tutdaytime5 41\li \ref tutdaytime6 42 43The last tutorial program in this section demonstrates how asio allows the TCP 44and UDP servers to be easily combined into a single program. 45 46\li \ref tutdaytime7 47 48*/ 49