2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-24 05:32:13 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Christopher Kohlhoff
5a9af00480 Update timeout examples to use latest features.
* Use asio::steady_timer rather than asio::deadline_timer.
* Use asio::dynamic_buffer rather than asio::streambuf.
* Use timed asio::io_context::run_for() function for blocking clients.
* Add example showing a custom completion token for blocking with timeouts.
2018-04-01 08:42:42 +10:00