Skip to content

v2.0.0

Latest

Choose a tag to compare

@bernhardHartleb bernhardHartleb released this 29 Nov 01:01
· 2 commits to master since this release
  • Introduce new epoll-based EventLoop class!
    Supports arbitrary epoll-compatible file descriptors, including sockets.
    Integrated one-shot and periodic timers (timerfd).
    Thread-safe stopping and wakeup mechanism (eventfd).
    Single readiness checks or continuous event dispatch.
    Deferred callback execution after I/O.

  • New non-blocking examples based on EventLoop:
    Timers, UDP receivers, Multi-client TCP server
    with output buffering and backpressure.

  • Major API modernization and stabilization:
    More concise method names, e.g. getForeignAddress() becomes peerAddress().
    Convenience overloads accepting std::string_view for sending.

  • Extended socket features:
    TCP keepalive support.
    Retrieve peer credentials for Unix-domain sockets using peerCredentials().
    IPv4 and IPv6 hostname resolution with multiple address results.

  • Improved CMake, CI and Docs:
    Native x86-64 and ARM64 builds using GCC and Clang.
    Automated SocketCAN testing.