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.
This example illustrates the use of asio in a server implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown by cancelling all outstanding asynchronous operations.