socketwrapper icon indicating copy to clipboard operation
socketwrapper copied to clipboard

Add coroutine support

Open tglane opened this issue 1 year ago • 0 comments

With C++20 came the coroutine library to support concurrent operations. This is particularly interesting for IO operations like we have in networking. The goal should be to have read/write/accept functions for each socket class that return an awaitable. Internally the executor/notifier implementations should be used.

I will start with some research on this topic since the C++ coroutines seem rather complicated.

tglane avatar Feb 18 '24 16:02 tglane