diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 42892592..cde3e65c 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) +# Copyright (c) 2003-2013 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) @@ -25,10 +25,13 @@ install images html/boost_asio ; -local example-names = allocation buffers chat echo fork http/client http/server - http/server2 http/server3 http/server4 icmp invocation iostreams local - multicast nonblocking porthopper serialization services socks4 ssl timeouts - timers windows ; +local example-names = cpp03/allocation cpp03/buffers cpp03/chat cpp03/echo + cpp03/fork cpp03/http/client cpp03/http/server cpp03/http/server2 + cpp03/http/server3 cpp03/http/server4 cpp03/icmp cpp03/invocation + cpp03/iostreams cpp03/local cpp03/multicast cpp03/nonblocking cpp03/porthopper + cpp03/serialization cpp03/services cpp03/socks4 cpp03/spawn cpp03/ssl + cpp03/timeouts cpp03/timers cpp03/windows cpp11/allocaton cpp11/buffers + cpp11/chat cpp11/echo cpp11/futures cpp11/http/server cpp11/spawn ; for local l in $(example-names) { diff --git a/doc/asio.qbk b/doc/asio.qbk index fcf8a6fe..48f98f74 100644 --- a/doc/asio.qbk +++ b/doc/asio.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) @@ -7,7 +7,7 @@ [library Boost.Asio [quickbook 1.4] - [copyright 2003 - 2012 Christopher M. Kohlhoff] + [copyright 2003 - 2013 Christopher M. Kohlhoff] [purpose Networking library] [license Distributed under the Boost Software License, Version 1.0. diff --git a/doc/doxy2qbk.pl b/doc/doxy2qbk.pl index 4340250a..fa671723 100644 --- a/doc/doxy2qbk.pl +++ b/doc/doxy2qbk.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) +# Copyright (c) 2003-2013 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) diff --git a/doc/examples.qbk b/doc/examples.qbk index bd55e339..a8ed93d0 100644 --- a/doc/examples.qbk +++ b/doc/examples.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) @@ -8,12 +8,24 @@ [section:examples Examples] +* [link boost_asio.examples.cpp03_examples C++03 Examples]: Illustrates the use of +Boost.Asio using only C++03 language and library features. Where necessary, the +examples make use of selected Boost C++ libraries. + +* [link boost_asio.examples.cpp11_examples C++11 Examples]: Contains a limited set of +the C++03 Boost.Asio examples, updated to use only C++11 library and language +facilities. These examples do not make direct use of Boost C++ libraries. + + +[section:cpp03_examples C++03 Examples] + + [heading Allocation] This example shows how to customise the allocation of memory associated with asynchronous operations. -* [@boost_asio/example/allocation/server.cpp] +* [@boost_asio/example/cpp03/allocation/server.cpp] [heading Buffers] @@ -21,7 +33,7 @@ asynchronous operations. This example demonstrates how to create reference counted buffers that can be used with socket read and write operations. -* [@boost_asio/example/buffers/reference_counted.cpp] +* [@boost_asio/example/cpp03/buffers/reference_counted.cpp] [heading Chat] @@ -29,15 +41,15 @@ used with socket read and write operations. This example implements a chat server and client. The programs use a custom protocol with a fixed length message header and variable length message body. -* [@boost_asio/example/chat/chat_message.hpp] -* [@boost_asio/example/chat/chat_client.cpp] -* [@boost_asio/example/chat/chat_server.cpp] +* [@boost_asio/example/cpp03/chat/chat_message.hpp] +* [@boost_asio/example/cpp03/chat/chat_client.cpp] +* [@boost_asio/example/cpp03/chat/chat_server.cpp] The following POSIX-specific chat client demonstrates how to use the [link boost_asio.reference.posix__stream_descriptor posix::stream_descriptor] class to perform console input and output. -* [@boost_asio/example/chat/posix_chat_client.cpp] +* [@boost_asio/example/cpp03/chat/posix_chat_client.cpp] [heading Echo] @@ -45,12 +57,12 @@ perform console input and output. A collection of simple clients and servers, showing the use of both synchronous and asynchronous operations. -* [@boost_asio/example/echo/async_tcp_echo_server.cpp] -* [@boost_asio/example/echo/async_udp_echo_server.cpp] -* [@boost_asio/example/echo/blocking_tcp_echo_client.cpp] -* [@boost_asio/example/echo/blocking_tcp_echo_server.cpp] -* [@boost_asio/example/echo/blocking_udp_echo_client.cpp] -* [@boost_asio/example/echo/blocking_udp_echo_server.cpp] +* [@boost_asio/example/cpp03/echo/async_tcp_echo_server.cpp] +* [@boost_asio/example/cpp03/echo/async_udp_echo_server.cpp] +* [@boost_asio/example/cpp03/echo/blocking_tcp_echo_client.cpp] +* [@boost_asio/example/cpp03/echo/blocking_tcp_echo_server.cpp] +* [@boost_asio/example/cpp03/echo/blocking_udp_echo_client.cpp] +* [@boost_asio/example/cpp03/echo/blocking_udp_echo_server.cpp] [heading Fork] @@ -59,12 +71,12 @@ These POSIX-specific examples show how to use Boost.Asio in conjunction with the `fork()` system call. The first example illustrates the steps required to start a daemon process: -* [@boost_asio/example/fork/daemon.cpp] +* [@boost_asio/example/cpp03/fork/daemon.cpp] The second example demonstrates how it is possible to fork a process from within a completion handler. -* [@boost_asio/example/fork/process_per_connection.cpp] +* [@boost_asio/example/cpp03/fork/process_per_connection.cpp] [heading HTTP Client] @@ -73,8 +85,8 @@ Example programs implementing simple HTTP 1.0 clients. These examples show how to use the [link boost_asio.reference.read_until read_until] and [link boost_asio.reference.async_read_until async_read_until] functions. -* [@boost_asio/example/http/client/sync_client.cpp] -* [@boost_asio/example/http/client/async_client.cpp] +* [@boost_asio/example/cpp03/http/client/sync_client.cpp] +* [@boost_asio/example/cpp03/http/client/async_client.cpp] [heading HTTP Server] @@ -83,98 +95,95 @@ This example illustrates the use of asio in a simple single-threaded server implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown by cancelling all outstanding asynchronous operations. -* [@boost_asio/example/http/server/connection.cpp] -* [@boost_asio/example/http/server/connection.hpp] -* [@boost_asio/example/http/server/connection_manager.cpp] -* [@boost_asio/example/http/server/connection_manager.hpp] -* [@boost_asio/example/http/server/header.hpp] -* [@boost_asio/example/http/server/main.cpp] -* [@boost_asio/example/http/server/mime_types.cpp] -* [@boost_asio/example/http/server/mime_types.hpp] -* [@boost_asio/example/http/server/reply.cpp] -* [@boost_asio/example/http/server/reply.hpp] -* [@boost_asio/example/http/server/request.hpp] -* [@boost_asio/example/http/server/request_handler.cpp] -* [@boost_asio/example/http/server/request_handler.hpp] -* [@boost_asio/example/http/server/request_parser.cpp] -* [@boost_asio/example/http/server/request_parser.hpp] -* [@boost_asio/example/http/server/server.cpp] -* [@boost_asio/example/http/server/server.hpp] +* [@boost_asio/example/cpp03/http/server/connection.cpp] +* [@boost_asio/example/cpp03/http/server/connection.hpp] +* [@boost_asio/example/cpp03/http/server/connection_manager.cpp] +* [@boost_asio/example/cpp03/http/server/connection_manager.hpp] +* [@boost_asio/example/cpp03/http/server/header.hpp] +* [@boost_asio/example/cpp03/http/server/main.cpp] +* [@boost_asio/example/cpp03/http/server/mime_types.cpp] +* [@boost_asio/example/cpp03/http/server/mime_types.hpp] +* [@boost_asio/example/cpp03/http/server/reply.cpp] +* [@boost_asio/example/cpp03/http/server/reply.hpp] +* [@boost_asio/example/cpp03/http/server/request.hpp] +* [@boost_asio/example/cpp03/http/server/request_handler.cpp] +* [@boost_asio/example/cpp03/http/server/request_handler.hpp] +* [@boost_asio/example/cpp03/http/server/request_parser.cpp] +* [@boost_asio/example/cpp03/http/server/request_parser.hpp] +* [@boost_asio/example/cpp03/http/server/server.cpp] +* [@boost_asio/example/cpp03/http/server/server.hpp] [heading HTTP Server 2] An HTTP server using an io_service-per-CPU design. -* [@boost_asio/example/http/server2/connection.cpp] -* [@boost_asio/example/http/server2/connection.hpp] -* [@boost_asio/example/http/server2/header.hpp] -* [@boost_asio/example/http/server2/io_service_pool.cpp] -* [@boost_asio/example/http/server2/io_service_pool.hpp] -* [@boost_asio/example/http/server2/main.cpp] -* [@boost_asio/example/http/server2/mime_types.cpp] -* [@boost_asio/example/http/server2/mime_types.hpp] -* [@boost_asio/example/http/server2/reply.cpp] -* [@boost_asio/example/http/server2/reply.hpp] -* [@boost_asio/example/http/server2/request.hpp] -* [@boost_asio/example/http/server2/request_handler.cpp] -* [@boost_asio/example/http/server2/request_handler.hpp] -* [@boost_asio/example/http/server2/request_parser.cpp] -* [@boost_asio/example/http/server2/request_parser.hpp] -* [@boost_asio/example/http/server2/server.cpp] -* [@boost_asio/example/http/server2/server.hpp] +* [@boost_asio/example/cpp03/http/server2/connection.cpp] +* [@boost_asio/example/cpp03/http/server2/connection.hpp] +* [@boost_asio/example/cpp03/http/server2/header.hpp] +* [@boost_asio/example/cpp03/http/server2/io_service_pool.cpp] +* [@boost_asio/example/cpp03/http/server2/io_service_pool.hpp] +* [@boost_asio/example/cpp03/http/server2/main.cpp] +* [@boost_asio/example/cpp03/http/server2/mime_types.cpp] +* [@boost_asio/example/cpp03/http/server2/mime_types.hpp] +* [@boost_asio/example/cpp03/http/server2/reply.cpp] +* [@boost_asio/example/cpp03/http/server2/reply.hpp] +* [@boost_asio/example/cpp03/http/server2/request.hpp] +* [@boost_asio/example/cpp03/http/server2/request_handler.cpp] +* [@boost_asio/example/cpp03/http/server2/request_handler.hpp] +* [@boost_asio/example/cpp03/http/server2/request_parser.cpp] +* [@boost_asio/example/cpp03/http/server2/request_parser.hpp] +* [@boost_asio/example/cpp03/http/server2/server.cpp] +* [@boost_asio/example/cpp03/http/server2/server.hpp] [heading HTTP Server 3] An HTTP server using a single io_service and a thread pool calling `io_service::run()`. -* [@boost_asio/example/http/server3/connection.cpp] -* [@boost_asio/example/http/server3/connection.hpp] -* [@boost_asio/example/http/server3/header.hpp] -* [@boost_asio/example/http/server3/main.cpp] -* [@boost_asio/example/http/server3/mime_types.cpp] -* [@boost_asio/example/http/server3/mime_types.hpp] -* [@boost_asio/example/http/server3/reply.cpp] -* [@boost_asio/example/http/server3/reply.hpp] -* [@boost_asio/example/http/server3/request.hpp] -* [@boost_asio/example/http/server3/request_handler.cpp] -* [@boost_asio/example/http/server3/request_handler.hpp] -* [@boost_asio/example/http/server3/request_parser.cpp] -* [@boost_asio/example/http/server3/request_parser.hpp] -* [@boost_asio/example/http/server3/server.cpp] -* [@boost_asio/example/http/server3/server.hpp] +* [@boost_asio/example/cpp03/http/server3/connection.cpp] +* [@boost_asio/example/cpp03/http/server3/connection.hpp] +* [@boost_asio/example/cpp03/http/server3/header.hpp] +* [@boost_asio/example/cpp03/http/server3/main.cpp] +* [@boost_asio/example/cpp03/http/server3/mime_types.cpp] +* [@boost_asio/example/cpp03/http/server3/mime_types.hpp] +* [@boost_asio/example/cpp03/http/server3/reply.cpp] +* [@boost_asio/example/cpp03/http/server3/reply.hpp] +* [@boost_asio/example/cpp03/http/server3/request.hpp] +* [@boost_asio/example/cpp03/http/server3/request_handler.cpp] +* [@boost_asio/example/cpp03/http/server3/request_handler.hpp] +* [@boost_asio/example/cpp03/http/server3/request_parser.cpp] +* [@boost_asio/example/cpp03/http/server3/request_parser.hpp] +* [@boost_asio/example/cpp03/http/server3/server.cpp] +* [@boost_asio/example/cpp03/http/server3/server.hpp] [heading HTTP Server 4] A single-threaded HTTP server implemented using stackless coroutines. -* [@boost_asio/example/http/server4/coroutine.hpp] -* [@boost_asio/example/http/server4/file_handler.cpp] -* [@boost_asio/example/http/server4/file_handler.hpp] -* [@boost_asio/example/http/server4/header.hpp] -* [@boost_asio/example/http/server4/main.cpp] -* [@boost_asio/example/http/server4/mime_types.cpp] -* [@boost_asio/example/http/server4/mime_types.hpp] -* [@boost_asio/example/http/server4/reply.cpp] -* [@boost_asio/example/http/server4/reply.hpp] -* [@boost_asio/example/http/server4/request.hpp] -* [@boost_asio/example/http/server4/request_parser.cpp] -* [@boost_asio/example/http/server4/request_parser.hpp] -* [@boost_asio/example/http/server4/server.cpp] -* [@boost_asio/example/http/server4/server.hpp] -* [@boost_asio/example/http/server4/unyield.hpp] -* [@boost_asio/example/http/server4/yield.hpp] +* [@boost_asio/example/cpp03/http/server4/file_handler.cpp] +* [@boost_asio/example/cpp03/http/server4/file_handler.hpp] +* [@boost_asio/example/cpp03/http/server4/header.hpp] +* [@boost_asio/example/cpp03/http/server4/main.cpp] +* [@boost_asio/example/cpp03/http/server4/mime_types.cpp] +* [@boost_asio/example/cpp03/http/server4/mime_types.hpp] +* [@boost_asio/example/cpp03/http/server4/reply.cpp] +* [@boost_asio/example/cpp03/http/server4/reply.hpp] +* [@boost_asio/example/cpp03/http/server4/request.hpp] +* [@boost_asio/example/cpp03/http/server4/request_parser.cpp] +* [@boost_asio/example/cpp03/http/server4/request_parser.hpp] +* [@boost_asio/example/cpp03/http/server4/server.cpp] +* [@boost_asio/example/cpp03/http/server4/server.hpp] [heading ICMP] This example shows how to use raw sockets with ICMP to ping a remote host. -* [@boost_asio/example/icmp/ping.cpp] -* [@boost_asio/example/icmp/ipv4_header.hpp] -* [@boost_asio/example/icmp/icmp_header.hpp] +* [@boost_asio/example/cpp03/icmp/ping.cpp] +* [@boost_asio/example/cpp03/icmp/ipv4_header.hpp] +* [@boost_asio/example/cpp03/icmp/icmp_header.hpp] [heading Invocation] @@ -182,7 +191,7 @@ This example shows how to use raw sockets with ICMP to ping a remote host. This example shows how to customise handler invocation. Completion handlers are added to a priority queue rather than executed immediately. -* [@boost_asio/example/invocation/prioritised_handlers.cpp] +* [@boost_asio/example/cpp03/invocation/prioritised_handlers.cpp] [heading Iostreams] @@ -190,9 +199,9 @@ added to a priority queue rather than executed immediately. Two examples showing how to use [link boost_asio.reference.ip__tcp.iostream ip::tcp::iostream]. -* [@boost_asio/example/iostreams/daytime_client.cpp] -* [@boost_asio/example/iostreams/daytime_server.cpp] -* [@boost_asio/example/iostreams/http_client.cpp] +* [@boost_asio/example/cpp03/iostreams/daytime_client.cpp] +* [@boost_asio/example/cpp03/iostreams/daytime_server.cpp] +* [@boost_asio/example/cpp03/iostreams/http_client.cpp] [heading Multicast] @@ -200,8 +209,8 @@ ip::tcp::iostream]. An example showing the use of multicast to transmit packets to a group of subscribers. -* [@boost_asio/example/multicast/receiver.cpp] -* [@boost_asio/example/multicast/sender.cpp] +* [@boost_asio/example/cpp03/multicast/receiver.cpp] +* [@boost_asio/example/cpp03/multicast/sender.cpp] [heading Serialization] @@ -209,10 +218,10 @@ subscribers. This example shows how Boost.Serialization can be used with asio to encode and decode structures for transmission over a socket. -* [@boost_asio/example/serialization/client.cpp] -* [@boost_asio/example/serialization/connection.hpp] -* [@boost_asio/example/serialization/server.cpp] -* [@boost_asio/example/serialization/stock.hpp] +* [@boost_asio/example/cpp03/serialization/client.cpp] +* [@boost_asio/example/cpp03/serialization/connection.hpp] +* [@boost_asio/example/cpp03/serialization/server.cpp] +* [@boost_asio/example/cpp03/serialization/stock.hpp] [heading Services] @@ -222,12 +231,12 @@ for logging) into asio's [link boost_asio.reference.io_service io_service], and how to use a custom service with [link boost_asio.reference.basic_stream_socket basic_stream_socket<>]. -* [@boost_asio/example/services/basic_logger.hpp] -* [@boost_asio/example/services/daytime_client.cpp] -* [@boost_asio/example/services/logger.hpp] -* [@boost_asio/example/services/logger_service.cpp] -* [@boost_asio/example/services/logger_service.hpp] -* [@boost_asio/example/services/stream_socket_service.hpp] +* [@boost_asio/example/cpp03/services/basic_logger.hpp] +* [@boost_asio/example/cpp03/services/daytime_client.cpp] +* [@boost_asio/example/cpp03/services/logger.hpp] +* [@boost_asio/example/cpp03/services/logger_service.cpp] +* [@boost_asio/example/cpp03/services/logger_service.hpp] +* [@boost_asio/example/cpp03/services/stream_socket_service.hpp] [heading SOCKS 4] @@ -235,8 +244,8 @@ boost_asio.reference.basic_stream_socket basic_stream_socket<>]. Example client program implementing the SOCKS 4 protocol for communication via a proxy. -* [@boost_asio/example/socks4/sync_client.cpp] -* [@boost_asio/example/socks4/socks4.hpp] +* [@boost_asio/example/cpp03/socks4/sync_client.cpp] +* [@boost_asio/example/cpp03/socks4/socks4.hpp] [heading SSL] @@ -244,8 +253,8 @@ a proxy. Example client and server programs showing the use of the [link boost_asio.reference.ssl__stream ssl::stream<>] template with asynchronous operations. -* [@boost_asio/example/ssl/client.cpp] -* [@boost_asio/example/ssl/server.cpp] +* [@boost_asio/example/cpp03/ssl/client.cpp] +* [@boost_asio/example/cpp03/ssl/server.cpp] [heading Timeouts] @@ -253,18 +262,18 @@ boost_asio.reference.ssl__stream ssl::stream<>] template with asynchronous opera A collection of examples showing how to cancel long running asynchronous operations after a period of time. -* [@boost_asio/example/timeouts/async_tcp_client.cpp] -* [@boost_asio/example/timeouts/blocking_tcp_client.cpp] -* [@boost_asio/example/timeouts/blocking_udp_client.cpp] -* [@boost_asio/example/timeouts/server.cpp] +* [@boost_asio/example/cpp03/timeouts/async_tcp_client.cpp] +* [@boost_asio/example/cpp03/timeouts/blocking_tcp_client.cpp] +* [@boost_asio/example/cpp03/timeouts/blocking_udp_client.cpp] +* [@boost_asio/example/cpp03/timeouts/server.cpp] [heading Timers] Examples showing how to customise deadline_timer using different time types. -* [@boost_asio/example/timers/tick_count_timer.cpp] -* [@boost_asio/example/timers/time_t_timer.cpp] +* [@boost_asio/example/cpp03/timers/tick_count_timer.cpp] +* [@boost_asio/example/cpp03/timers/time_t_timer.cpp] [heading Porthopper] @@ -272,9 +281,9 @@ Examples showing how to customise deadline_timer using different time types. Example illustrating mixed synchronous and asynchronous operations, and how to use Boost.Lambda with Boost.Asio. -* [@boost_asio/example/porthopper/protocol.hpp] -* [@boost_asio/example/porthopper/client.cpp] -* [@boost_asio/example/porthopper/server.cpp] +* [@boost_asio/example/cpp03/porthopper/protocol.hpp] +* [@boost_asio/example/cpp03/porthopper/client.cpp] +* [@boost_asio/example/cpp03/porthopper/server.cpp] [heading Nonblocking] @@ -282,16 +291,26 @@ use Boost.Lambda with Boost.Asio. Example demonstrating reactor-style operations for integrating a third-party library that wants to perform the I/O operations itself. -* [@boost_asio/example/nonblocking/third_party_lib.cpp] +* [@boost_asio/example/cpp03/nonblocking/third_party_lib.cpp] + + +[heading Spawn] + +Example of using the boost::asio::spawn() function, a wrapper around the +[@http://www.boost.org/doc/libs/release/libs/coroutine/index.html Boost.Coroutine] +library, to implement a chain of asynchronous operations using stackful +coroutines. + +* [@boost_asio/example/cpp03/spawn/echo_server.cpp] [heading UNIX Domain Sockets] Examples showing how to use UNIX domain (local) sockets. -* [@boost_asio/example/local/connect_pair.cpp] -* [@boost_asio/example/local/stream_server.cpp] -* [@boost_asio/example/local/stream_client.cpp] +* [@boost_asio/example/cpp03/local/connect_pair.cpp] +* [@boost_asio/example/cpp03/local/stream_server.cpp] +* [@boost_asio/example/cpp03/local/stream_client.cpp] [heading Windows] @@ -299,7 +318,98 @@ Examples showing how to use UNIX domain (local) sockets. An example showing how to use the Windows-specific function `TransmitFile` with Boost.Asio. -* [@boost_asio/example/windows/transmit_file.cpp] +* [@boost_asio/example/cpp03/windows/transmit_file.cpp] + + +[endsect] + + +[section:cpp11_examples C++11 Examples] + + +[heading Allocation] + +This example shows how to customise the allocation of memory associated with +asynchronous operations. + +* [@boost_asio/example/cpp11/allocation/server.cpp] + + +[heading Buffers] + +This example demonstrates how to create reference counted buffers that can be +used with socket read and write operations. + +* [@boost_asio/example/cpp11/buffers/reference_counted.cpp] + + +[heading Chat] + +This example implements a chat server and client. The programs use a custom +protocol with a fixed length message header and variable length message body. + +* [@boost_asio/example/cpp11/chat/chat_message.hpp] +* [@boost_asio/example/cpp11/chat/chat_client.cpp] +* [@boost_asio/example/cpp11/chat/chat_server.cpp] + + +[heading Echo] + +A collection of simple clients and servers, showing the use of both synchronous +and asynchronous operations. + +* [@boost_asio/example/cpp11/echo/async_tcp_echo_server.cpp] +* [@boost_asio/example/cpp11/echo/async_udp_echo_server.cpp] +* [@boost_asio/example/cpp11/echo/blocking_tcp_echo_client.cpp] +* [@boost_asio/example/cpp11/echo/blocking_tcp_echo_server.cpp] +* [@boost_asio/example/cpp11/echo/blocking_udp_echo_client.cpp] +* [@boost_asio/example/cpp11/echo/blocking_udp_echo_server.cpp] + + +[heading Futures] + +This example demonstrates how to use std::future in conjunction with +Boost.Asio's asynchronous operations. + +* [@boost_asio/example/cpp11/futures/daytime_client.cpp] + + +[heading HTTP Server] + +This example illustrates the use of asio in a simple single-threaded server +implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown by +cancelling all outstanding asynchronous operations. + +* [@boost_asio/example/cpp11/http/server/connection.cpp] +* [@boost_asio/example/cpp11/http/server/connection.hpp] +* [@boost_asio/example/cpp11/http/server/connection_manager.cpp] +* [@boost_asio/example/cpp11/http/server/connection_manager.hpp] +* [@boost_asio/example/cpp11/http/server/header.hpp] +* [@boost_asio/example/cpp11/http/server/main.cpp] +* [@boost_asio/example/cpp11/http/server/mime_types.cpp] +* [@boost_asio/example/cpp11/http/server/mime_types.hpp] +* [@boost_asio/example/cpp11/http/server/reply.cpp] +* [@boost_asio/example/cpp11/http/server/reply.hpp] +* [@boost_asio/example/cpp11/http/server/request.hpp] +* [@boost_asio/example/cpp11/http/server/request_handler.cpp] +* [@boost_asio/example/cpp11/http/server/request_handler.hpp] +* [@boost_asio/example/cpp11/http/server/request_parser.cpp] +* [@boost_asio/example/cpp11/http/server/request_parser.hpp] +* [@boost_asio/example/cpp11/http/server/server.cpp] +* [@boost_asio/example/cpp11/http/server/server.hpp] + + +[heading Spawn] + +Example of using the boost::asio::spawn() function, a wrapper around the +[@http://www.boost.org/doc/libs/release/libs/coroutine/index.html Boost.Coroutine] +library, to implement a chain of asynchronous operations using stackful +coroutines. + +* [@boost_asio/example/cpp11/spawn/echo_server.cpp] + + +[endsect] [endsect] diff --git a/doc/history.qbk b/doc/history.qbk index f39edbc0..395b3c51 100644 --- a/doc/history.qbk +++ b/doc/history.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/index.xml b/doc/index.xml index beca8d42..d5303382 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -2,7 +2,7 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) @@ -42,6 +42,7 @@ [include requirements/AsyncRandomAccessWriteDevice.qbk] [include requirements/AsyncReadStream.qbk] [include requirements/AsyncWriteStream.qbk] +[include requirements/BufferedHandshakeHandler.qbk] [include requirements/CompletionHandler.qbk] [include requirements/ComposedConnectHandler.qbk] [include requirements/ConnectHandler.qbk] @@ -177,17 +178,27 @@ + + + + + + + + + + + + + + - - - - - - - + + ``[link boost_asio.reference.asynchronous_operations.return_type ['void-or-deduced]]`` + - - + + @@ -413,7 +424,10 @@ -[*] +[*] + + +['] @@ -1429,6 +1443,9 @@ + + + @@ -1456,12 +1473,24 @@ + + + + + + + + + + + + diff --git a/doc/requirements.qbk b/doc/requirements.qbk index 3dbae38d..77bcebb4 100644 --- a/doc/requirements.qbk +++ b/doc/requirements.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/AcceptHandler.qbk b/doc/requirements/AcceptHandler.qbk index ab656383..093dff36 100644 --- a/doc/requirements/AcceptHandler.qbk +++ b/doc/requirements/AcceptHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/AsyncRandomAccessReadDevice.qbk b/doc/requirements/AsyncRandomAccessReadDevice.qbk index 1a188780..bf9b714d 100644 --- a/doc/requirements/AsyncRandomAccessReadDevice.qbk +++ b/doc/requirements/AsyncRandomAccessReadDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/AsyncRandomAccessWriteDevice.qbk b/doc/requirements/AsyncRandomAccessWriteDevice.qbk index 830d4f4e..28003245 100644 --- a/doc/requirements/AsyncRandomAccessWriteDevice.qbk +++ b/doc/requirements/AsyncRandomAccessWriteDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/AsyncReadStream.qbk b/doc/requirements/AsyncReadStream.qbk index 5878048d..5198128c 100644 --- a/doc/requirements/AsyncReadStream.qbk +++ b/doc/requirements/AsyncReadStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/AsyncWriteStream.qbk b/doc/requirements/AsyncWriteStream.qbk index 3e0b76d4..32ba2c75 100644 --- a/doc/requirements/AsyncWriteStream.qbk +++ b/doc/requirements/AsyncWriteStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/BufferedHandshakeHandler.qbk b/doc/requirements/BufferedHandshakeHandler.qbk new file mode 100644 index 00000000..beb2940b --- /dev/null +++ b/doc/requirements/BufferedHandshakeHandler.qbk @@ -0,0 +1,54 @@ +[/ + / Copyright (c) 2003-2013 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) + /] + +[section:BufferedHandshakeHandler Buffered handshake handler requirements] + +A buffered handshake handler must meet the requirements for a [link +boost_asio.reference.Handler handler]. A value `h` of a buffered handshake handler +class should work correctly in the expression `h(ec, s)`, where `ec` is an +lvalue of type `const error_code` and `s` is an lvalue of type `const size_t`. + +[heading Examples] + +A free function as a buffered handshake handler: + + void handshake_handler( + const boost::system::error_code& ec, + std::size_t bytes_transferred) + { + ... + } + +A buffered handshake handler function object: + + struct handshake_handler + { + ... + void operator()( + const boost::system::error_code& ec, + std::size_t bytes_transferred) + { + ... + } + ... + }; + +A non-static class member function adapted to a buffered handshake handler using `bind()`: + + void my_class::handshake_handler( + const boost::system::error_code& ec, + std::size_t bytes_transferred) + { + ... + } + ... + socket.async_handshake(..., + boost::bind(&my_class::handshake_handler, + this, boost::asio::placeholders::error, + boost::asio::placeholders::bytes_transferred)); + +[endsect] diff --git a/doc/requirements/CompletionHandler.qbk b/doc/requirements/CompletionHandler.qbk index 9825d90c..00522da7 100644 --- a/doc/requirements/CompletionHandler.qbk +++ b/doc/requirements/CompletionHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ComposedConnectHandler.qbk b/doc/requirements/ComposedConnectHandler.qbk index e396b252..7750a9d3 100644 --- a/doc/requirements/ComposedConnectHandler.qbk +++ b/doc/requirements/ComposedConnectHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ConnectHandler.qbk b/doc/requirements/ConnectHandler.qbk index 26ae272f..ded5265a 100644 --- a/doc/requirements/ConnectHandler.qbk +++ b/doc/requirements/ConnectHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ConstBufferSequence.qbk b/doc/requirements/ConstBufferSequence.qbk index f7094661..fef93f97 100644 --- a/doc/requirements/ConstBufferSequence.qbk +++ b/doc/requirements/ConstBufferSequence.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ConvertibleToConstBuffer.qbk b/doc/requirements/ConvertibleToConstBuffer.qbk index 5667f47e..d96beab1 100644 --- a/doc/requirements/ConvertibleToConstBuffer.qbk +++ b/doc/requirements/ConvertibleToConstBuffer.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ConvertibleToMutableBuffer.qbk b/doc/requirements/ConvertibleToMutableBuffer.qbk index 8b3278b0..5a0a0b0f 100644 --- a/doc/requirements/ConvertibleToMutableBuffer.qbk +++ b/doc/requirements/ConvertibleToMutableBuffer.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/DatagramSocketService.qbk b/doc/requirements/DatagramSocketService.qbk index de033b11..daaffab8 100644 --- a/doc/requirements/DatagramSocketService.qbk +++ b/doc/requirements/DatagramSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/DescriptorService.qbk b/doc/requirements/DescriptorService.qbk index 2c3cebd0..85581f40 100644 --- a/doc/requirements/DescriptorService.qbk +++ b/doc/requirements/DescriptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/Endpoint.qbk b/doc/requirements/Endpoint.qbk index 9207eb31..0d9691fa 100644 --- a/doc/requirements/Endpoint.qbk +++ b/doc/requirements/Endpoint.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/GettableSerialPortOption.qbk b/doc/requirements/GettableSerialPortOption.qbk index d227e914..714bdb35 100644 --- a/doc/requirements/GettableSerialPortOption.qbk +++ b/doc/requirements/GettableSerialPortOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/GettableSocketOption.qbk b/doc/requirements/GettableSocketOption.qbk index f735d60d..273afa27 100644 --- a/doc/requirements/GettableSocketOption.qbk +++ b/doc/requirements/GettableSocketOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/HandleService.qbk b/doc/requirements/HandleService.qbk index c27c2285..a7629b86 100644 --- a/doc/requirements/HandleService.qbk +++ b/doc/requirements/HandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/Handler.qbk b/doc/requirements/Handler.qbk index e6fe3dc9..b64c4984 100644 --- a/doc/requirements/Handler.qbk +++ b/doc/requirements/Handler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/HandshakeHandler.qbk b/doc/requirements/HandshakeHandler.qbk index 2b130fd2..5226bebe 100644 --- a/doc/requirements/HandshakeHandler.qbk +++ b/doc/requirements/HandshakeHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/InternetProtocol.qbk b/doc/requirements/InternetProtocol.qbk index dcd2f1c9..d4fd88fb 100644 --- a/doc/requirements/InternetProtocol.qbk +++ b/doc/requirements/InternetProtocol.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/IoControlCommand.qbk b/doc/requirements/IoControlCommand.qbk index 8a4f7a99..44260ac8 100644 --- a/doc/requirements/IoControlCommand.qbk +++ b/doc/requirements/IoControlCommand.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/IoObjectService.qbk b/doc/requirements/IoObjectService.qbk index a4afd057..ec697edf 100644 --- a/doc/requirements/IoObjectService.qbk +++ b/doc/requirements/IoObjectService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/MutableBufferSequence.qbk b/doc/requirements/MutableBufferSequence.qbk index 4b9ad531..a312a354 100644 --- a/doc/requirements/MutableBufferSequence.qbk +++ b/doc/requirements/MutableBufferSequence.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ObjectHandleService.qbk b/doc/requirements/ObjectHandleService.qbk index 1003f6d7..f30a4059 100644 --- a/doc/requirements/ObjectHandleService.qbk +++ b/doc/requirements/ObjectHandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/Protocol.qbk b/doc/requirements/Protocol.qbk index 1bd31934..c0582938 100644 --- a/doc/requirements/Protocol.qbk +++ b/doc/requirements/Protocol.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/RandomAccessHandleService.qbk b/doc/requirements/RandomAccessHandleService.qbk index 342e7123..513305d9 100644 --- a/doc/requirements/RandomAccessHandleService.qbk +++ b/doc/requirements/RandomAccessHandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/RawSocketService.qbk b/doc/requirements/RawSocketService.qbk index 3c2c14de..e1d59550 100644 --- a/doc/requirements/RawSocketService.qbk +++ b/doc/requirements/RawSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ReadHandler.qbk b/doc/requirements/ReadHandler.qbk index 42b43f74..116b9c73 100644 --- a/doc/requirements/ReadHandler.qbk +++ b/doc/requirements/ReadHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ResolveHandler.qbk b/doc/requirements/ResolveHandler.qbk index aefa15a9..e5343acb 100644 --- a/doc/requirements/ResolveHandler.qbk +++ b/doc/requirements/ResolveHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ResolverService.qbk b/doc/requirements/ResolverService.qbk index 8183cb61..568531c3 100644 --- a/doc/requirements/ResolverService.qbk +++ b/doc/requirements/ResolverService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SeqPacketSocketService.qbk b/doc/requirements/SeqPacketSocketService.qbk index c884050f..824fbc6b 100644 --- a/doc/requirements/SeqPacketSocketService.qbk +++ b/doc/requirements/SeqPacketSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SerialPortService.qbk b/doc/requirements/SerialPortService.qbk index d9bb6c78..3e2e8ded 100644 --- a/doc/requirements/SerialPortService.qbk +++ b/doc/requirements/SerialPortService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/Service.qbk b/doc/requirements/Service.qbk index cd394ca9..37d80336 100644 --- a/doc/requirements/Service.qbk +++ b/doc/requirements/Service.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SettableSerialPortOption.qbk b/doc/requirements/SettableSerialPortOption.qbk index 330f789c..242427ff 100644 --- a/doc/requirements/SettableSerialPortOption.qbk +++ b/doc/requirements/SettableSerialPortOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SettableSocketOption.qbk b/doc/requirements/SettableSocketOption.qbk index bd76fd62..372364db 100644 --- a/doc/requirements/SettableSocketOption.qbk +++ b/doc/requirements/SettableSocketOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/ShutdownHandler.qbk b/doc/requirements/ShutdownHandler.qbk index 7eb6b8a0..399081cc 100644 --- a/doc/requirements/ShutdownHandler.qbk +++ b/doc/requirements/ShutdownHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SignalHandler.qbk b/doc/requirements/SignalHandler.qbk index 26c2f9a9..2f785495 100644 --- a/doc/requirements/SignalHandler.qbk +++ b/doc/requirements/SignalHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SignalSetService.qbk b/doc/requirements/SignalSetService.qbk index db4fc841..af17c1b1 100644 --- a/doc/requirements/SignalSetService.qbk +++ b/doc/requirements/SignalSetService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SocketAcceptorService.qbk b/doc/requirements/SocketAcceptorService.qbk index 5d5fd992..45ea350c 100644 --- a/doc/requirements/SocketAcceptorService.qbk +++ b/doc/requirements/SocketAcceptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SocketService.qbk b/doc/requirements/SocketService.qbk index 7caeb23a..a82e35d8 100644 --- a/doc/requirements/SocketService.qbk +++ b/doc/requirements/SocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/StreamDescriptorService.qbk b/doc/requirements/StreamDescriptorService.qbk index db58a5dd..aa4ac096 100644 --- a/doc/requirements/StreamDescriptorService.qbk +++ b/doc/requirements/StreamDescriptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/StreamHandleService.qbk b/doc/requirements/StreamHandleService.qbk index 58fb820a..29e4dcdd 100644 --- a/doc/requirements/StreamHandleService.qbk +++ b/doc/requirements/StreamHandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/StreamSocketService.qbk b/doc/requirements/StreamSocketService.qbk index 68762e1f..dfa50831 100644 --- a/doc/requirements/StreamSocketService.qbk +++ b/doc/requirements/StreamSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SyncRandomAccessReadDevice.qbk b/doc/requirements/SyncRandomAccessReadDevice.qbk index 989d132a..1a896012 100644 --- a/doc/requirements/SyncRandomAccessReadDevice.qbk +++ b/doc/requirements/SyncRandomAccessReadDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SyncRandomAccessWriteDevice.qbk b/doc/requirements/SyncRandomAccessWriteDevice.qbk index 65eacd9e..68522388 100644 --- a/doc/requirements/SyncRandomAccessWriteDevice.qbk +++ b/doc/requirements/SyncRandomAccessWriteDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SyncReadStream.qbk b/doc/requirements/SyncReadStream.qbk index 59e58920..dc91b75a 100644 --- a/doc/requirements/SyncReadStream.qbk +++ b/doc/requirements/SyncReadStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/SyncWriteStream.qbk b/doc/requirements/SyncWriteStream.qbk index 3500d2c0..63e65268 100644 --- a/doc/requirements/SyncWriteStream.qbk +++ b/doc/requirements/SyncWriteStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/TimeTraits.qbk b/doc/requirements/TimeTraits.qbk index 956fd8d5..ba65cc1b 100644 --- a/doc/requirements/TimeTraits.qbk +++ b/doc/requirements/TimeTraits.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/TimerService.qbk b/doc/requirements/TimerService.qbk index dadca8ed..158ce2f3 100644 --- a/doc/requirements/TimerService.qbk +++ b/doc/requirements/TimerService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/WaitHandler.qbk b/doc/requirements/WaitHandler.qbk index dd3966c6..88c93906 100644 --- a/doc/requirements/WaitHandler.qbk +++ b/doc/requirements/WaitHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/WaitTraits.qbk b/doc/requirements/WaitTraits.qbk index 1514e3d8..6fcfaec5 100644 --- a/doc/requirements/WaitTraits.qbk +++ b/doc/requirements/WaitTraits.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/WaitableTimerService.qbk b/doc/requirements/WaitableTimerService.qbk index ca3aac3f..624e5e84 100644 --- a/doc/requirements/WaitableTimerService.qbk +++ b/doc/requirements/WaitableTimerService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/WriteHandler.qbk b/doc/requirements/WriteHandler.qbk index a33d2a65..a0d0f31c 100644 --- a/doc/requirements/WriteHandler.qbk +++ b/doc/requirements/WriteHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) diff --git a/doc/requirements/asynchronous_operations.qbk b/doc/requirements/asynchronous_operations.qbk index b539536a..6728bd41 100644 --- a/doc/requirements/asynchronous_operations.qbk +++ b/doc/requirements/asynchronous_operations.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) @@ -173,4 +173,8 @@ to deallocate the storage prior to the invocation of the handler via `asio_handler_invoke`. Multiple storage blocks may be allocated for a single asynchronous operation. +[section:return_type Return type of an initiating function] + +[endsect] + [endsect] diff --git a/doc/std_exception_dox.txt b/doc/std_exception_dox.txt index 4e7222bb..5b46c58c 100644 --- a/doc/std_exception_dox.txt +++ b/doc/std_exception_dox.txt @@ -1,5 +1,5 @@ // -// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2013 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) diff --git a/doc/tutorial.qbk b/doc/tutorial.qbk index d22631b6..b42808d6 100644 --- a/doc/tutorial.qbk +++ b/doc/tutorial.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2013 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) @@ -142,7 +142,7 @@ Next: [link boost_asio.tutorial.tuttimer2 Timer.2 - Using a timer asynchronously ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -242,7 +242,7 @@ Next: [link boost_asio.tutorial.tuttimer3 Timer.3 - Binding arguments to a handl ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -390,7 +390,7 @@ Next: [link boost_asio.tutorial.tuttimer4 Timer.4 - Using a member function as a ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -551,7 +551,7 @@ Next: [link boost_asio.tutorial.tuttimer5 Timer.5 - Synchronising handlers in mu ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -751,7 +751,7 @@ Previous: [link boost_asio.tutorial.tuttimer4 Timer.4 - Using a member function ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -959,7 +959,7 @@ Next: [link boost_asio.tutorial.tutdaytime2 Daytime.2 - A synchronous TCP daytim ``''''''``// client.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -1118,7 +1118,7 @@ Next: [link boost_asio.tutorial.tutdaytime3 Daytime.3 - An asynchronous TCP dayt ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -1370,7 +1370,7 @@ Next: [link boost_asio.tutorial.tutdaytime4 Daytime.4 - A synchronous UDP daytim ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -1591,7 +1591,7 @@ Next: [link boost_asio.tutorial.tutdaytime5 Daytime.5 - A synchronous UDP daytim ``''''''``// client.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -1734,7 +1734,7 @@ Next: [link boost_asio.tutorial.tutdaytime6 Daytime.6 - An asynchronous UDP dayt ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -1952,7 +1952,7 @@ Next: [link boost_asio.tutorial.tutdaytime7 Daytime.7 - A combined TCP/UDP async ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) @@ -2231,7 +2231,7 @@ Previous: [link boost_asio.tutorial.tutdaytime6 Daytime.6 - An asynchronous UDP ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2013 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) diff --git a/doc/tutorial.xsl b/doc/tutorial.xsl index 3b6f530f..a863f91a 100644 --- a/doc/tutorial.xsl +++ b/doc/tutorial.xsl @@ -2,7 +2,7 @@