~/talk

The Networking TS in Practice: Patterns for Real World Problems

Talkat CppCon 2019 · 2019-09-15..09-20· [networking, c-and-cpp]
links:none on file
slides:none on file

Examines concrete recipes using Boost.Asio and the Networking TS to build composed asynchronous operations: implements an async_wait_then_write and a correct async_write_with_timeout using a shared-state counter, allocator from the completion token, and a sticky-cancel wrapper that forces failed initiations. Shows how to avoid races with strands or by round-robin dispatching sockets across single-threaded io_contexts and builds a reusable never-succeeding accept loop that runs and tests correctly on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00The Networking TS
  3. 12:03Shared State
  4. 21:33Cancel
  5. 26:02AsyncWrite
  6. 29:08Parallel Composition
  7. 36:02Implementing Logic
  8. 39:27Conclusion
  9. 43:53What to Leave with
  10. 45:52Why Complexity
  11. 48:29Universal asynchronous model
  12. 51:42TLS support
  13. 53:02Stop accepting
  14. 55:15Execution context
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.