~/talk

Structured Networking in C++

Talkat CppCon 2022 · 2022-09-11..09-16· [networking]
links:none on file
slides:none on file

Demonstrates a concrete implementation of the p2300 senders/receivers model to make networking structured: coroutines build async Echo server tasks, connect returns a nonmovable operation_state and start runs it, and cancellation is omitted for the demo. Uses a simple IO context with epoll/poll style readiness, one heap job per client, and async accept/read/write adapters. The result compiles and runs: a fully asynchronous echo server that fits the core logic on a single page.

AI-written summary · about

  1. 0:00Structured networking intro
  2. 1:30Motivation for C++ networking
  3. 2:32Sender-receiver model core
  4. 7:49Sequential to async echo
  5. 12:02Non-blocking accept ops
  6. 18:02Async accept with poll
  7. 29:09Async accept context
  8. 32:19Connect sender to receiver
  9. 39:04Async read/write ops
  10. 44:03Final async echo server
  11. 46:16Q&A: coding style
  12. 49:07Q&A: connect/start/types
  13. 51:36Q&A: connect/start
  14. 53:47Q&A: tag_invoke/cancel
  15. 55:55Closing remarks
~/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.