/epoll-coroutine

tcp socket with support of c++20 coroutine

Primary LanguageC++

C++ coroutine with epoll

Use C++20 coroutine to have async accept / recv / send operation

Exemple echo server with in the main.cc

Purpose

Learning coroutine.

Inspired by:

TODO / Improvement

  • catch sigint + destroy coroutine
  • move semantic on socket accept (RVO ?)
  • handling error
  • clean (remove logging, ...)

test with ab