Tag: Asio
7 posts
-
A Minimal Redis-like Server in Modern C++ [#48-1]
Build an in-memory key-value server with Boost.Asio: single-threaded io_context, async_read_until, GET/SET/DEL, and ops patterns.
-
Build a Minimal C++ HTTP Framework from Scratch with Asio
Build a small HTTP server in C++ on Boost.Asio: request parsing, routing, middleware chains, async sessions, common failures, and when to use Boost.Beast.
-
C++ SSL/TLS with OpenSSL and Asio: Handshake, Certificates and Common Errors [#30-2]
Add TLS to a C++ server with OpenSSL and Asio: the handshake, self-signed and Let's Encrypt certificates, mTLS, and fixes for hostname and chain errors.
-
A Multi-Client Chat Server with Boost.Asio: Sessions, Write Queues and Strands [#31-1]
Build a working Boost.Asio chat server: per-session strands, a write queue that stops interleaved async_write, shared_from_this lifetime and line framing.
-
Boost in Modern C++: What the Standard Replaced, What Is Still Worth It, and How to Link It
Which Boost libraries C++17/20/23 replaced, when Asio, Beast, Container or Multiprecision still pay off, and fixing find_package, CMP0167 and link errors.
-
Boost.Asio Introduction: io_context and async_read
Learn Asio async I/O for C++: io_context, async_read, async_write, async_accept, steady_timer, error_code handling, shared_ptr buffers, and strand basics.
-
Parsing HTTP Correctly in C++: Headers, Chunked Encoding and a Boost.Beast Parser
Parse HTTP in C++ without hand-rolled bugs: case-insensitive headers, Content-Length vs chunked bodies, keep-alive, body limits and a Boost.Beast parser.