socketwrapper
socketwrapper copied to clipboard
Add coroutine support
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.