Ender-events / epoll-coroutine

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)


Languages

Language:C++ 99.3%Language:Makefile 0.7%