]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // |
f51cf556 | 2 | // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
7c673cae FG |
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 | ||
13 | The tutorial programs in this first section introduce the fundamental concepts | |
14 | required to use the asio toolkit. Before plunging into the complex world of | |
15 | network programming, these tutorial programs illustrate the basic skills using | |
16 | simple 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 | ||
26 | The tutorial programs in this section show how to use asio to develop simple | |
27 | client and server programs. These tutorial programs are based around the <a | |
28 | href="http://www.ietf.org/rfc/rfc867.txt">daytime</a> protocol, which supports | |
29 | both TCP and UDP. | |
30 | ||
31 | The first three tutorial programs implement the daytime protocol using TCP. | |
32 | ||
33 | \li \ref tutdaytime1 | |
34 | \li \ref tutdaytime2 | |
35 | \li \ref tutdaytime3 | |
36 | ||
37 | The next three tutorial programs implement the daytime protocol using UDP. | |
38 | ||
39 | \li \ref tutdaytime4 | |
40 | \li \ref tutdaytime5 | |
41 | \li \ref tutdaytime6 | |
42 | ||
43 | The last tutorial program in this section demonstrates how asio allows the TCP | |
44 | and UDP servers to be easily combined into a single program. | |
45 | ||
46 | \li \ref tutdaytime7 | |
47 | ||
48 | */ |