~/talk

Get rich quick! Using Boost.Beast WebSockets and Networking TS

Talkat CppCon 2018 · 2018-09-23..09-28· [web-platform, c-and-cpp]
links:none on file
slides:none on file

Claims that single‑developer WebSocket games earned tens of millions and hit ~$100k/day; shows a working C++11 Boost.Beast server and a one‑file HTML/JavaScript client, plus Docker and repo links so the demo runs. Explains concrete APIs: buffer sequences, dynamic_buffer, async_read/write, io_context run/threads and strands, shared_ptr lifetime pattern, and a WebSocket session queue; builds a multi‑user chat server that compiles and actually broadcasts messages. Networking TS concepts and source code are presented for immediate reuse.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:47Case study of successful WebSocket apps
  3. 3:11HTTP and WebSocket protocols overview
  4. 7:05Networking TS and Beast overview
  5. 8:29I/O context and socket basics
  6. 9:11Buffer sequences in Networking TS
  7. 12:42Dynamic buffers explained
  8. 14:06Asynchronous I/O concepts
  9. 17:01Completion handlers and threads
  10. 21:38Threading models in Networking TS
  11. 23:24Chat server architecture
  12. 24:29Shared state implementation
  13. 25:53Main function and listener setup
  14. 26:58Listener run function
  15. 29:49HTTP session implementation
  16. 34:53WebSocket session implementation
  17. 38:22Sending messages in WebSocket session
  18. 40:27Client implementation overview
  19. 43:15Client HTML and JavaScript
  20. 46:27Potential applications and monetization
  21. 47:52Learning resources and advice
  22. 48:56Conclusion and Q&A
~/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.