~/talk

Practical Patterns with the Networking TS

Talkat CppCon 2017 · 2017-09-24..09-29· [networking]
links:none on file
slides:none on file

Networking TS is stable, implemented on GitHub and built on Boost.Asio, and the talk walks through concrete patterns and gotchas: synchronous stream examples use io_context with work_guard to keep threads alive, asynchronous code chains initiators and completion handlers, and strand guarantees ordered single threaded execution. Demonstrations include a self owning chat handler using enable_shared_from_this, a common temporary buffer bug that breaks async sends, why read_until can overread, and why using read_some plus explicit state machines is the reliable solution.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:11Networking TS overview
  3. 9:28Synchronous vs asynchronous I/O
  4. 15:32Sockets and resolvers
  5. 27:12Executors and async setup
  6. 37:14Completion handlers and callbacks
  7. 42:16Chat server design
  8. 47:26State machines and abstractions
  9. 53:55Futures, coroutines and streams
  10. 54:18Key takeaways and conclusion
  11. 54:59Q&A session
~/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.