Skip to content

Repository files navigation

net-cpp {#readme}

MIT licensed

A network library for C++.

Features

  • Asynchronous I/O (epoll + C++20 coroutines, multi-poller server model)
  • TCP
  • HTTP/1.1 server & client (routing, static files, keep-alive)
  • spsc
  • UDP

Documentation

$ doxygen Doxyfile

Benchmark

Please see the benchmarks and the HTTP server benchmark (xsl vs standalone asio: parity at 1 connection, 3x throughput at 16).

Usage

Please see the examples.

Architecture

See docs/architecture.md for the coroutine runtime, IO/threading model and ownership invariants.

About

C++ Networking Library for Learning

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages