socketwrapper icon indicating copy to clipboard operation
socketwrapper copied to clipboard

Async/Sync networking library including UDP, TCP and TLS/TCP socket classes written in C++ 17 that utilizes epoll and kqueue as backend.

Results 7 socketwrapper issues
Sort by recently updated
recently updated
newest added

This commit fixes a compile error with GCC 12.2.0 on Debian 12.4 The error was the following: `g++ -o udp_example udp_example.cpp -std=c++17 -fpic -Wall -Werror -Wextra -pedantic -lpthread In file...

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

Replace most exceptions either by a result type or simple error codes.

Currently only the sync operations (read, write, accept) offer the option to set a timeout after which the operation returns even if no data was processed. This should also be...

Currently all async operations are executed by the implemented class ```async_context```s singleton instance. I want to add the possibility to change the async "executor" for each socket instance seperately to...

enhancement

This adds support for Unix domain sockets (both datagrams and streams). It is mostly a hack, and if there is interest in this feature, it might be worthwhile to refactor...