Examples using experimental version of C++ networking ts
The examples in this repository is based on the talk by Michael Caisse on CppCon 2017
- The stream example (networking-ts-stream.cpp) is based on information starting at 4:59 in the talk
- The synchronous example (networking-ts-sync.cpp) is based on information starting at 10:20 in the talk
- The asynchronous example (networking-ts-async.cpp) is based on information starting at 26:57 in the talk
cd ~
mkdir git
cd git
git clone https://github.com/chriskohlhoff/networking-ts-impl.git
make build
make run
cat <example name>.o.output.txt
Example:
cat networking-ts-stream.o.output.txt
- Networking TS Implementation - https://github.com/chriskohlhoff/networking-ts-impl.git
- Boost Overivew - http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/overview.html
- Boost Async Example - http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/example/cpp11/chat/chat_client.cpp