Skip to content

Ender-events/epoll-coroutine

Repository files navigation

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

About

tcp socket with support of c++20 coroutine (coroutine TS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors