Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 370 Bytes

File metadata and controls

20 lines (12 loc) · 370 Bytes

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, ...)