libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
There was some TODO left in the code to give access to the source address with UDP socket. Since I needed it for a personal use case, I added the support for it.
Notes for reviewers
Since I don't have a MacOS available currently, I couldn't run the tests. However, cross-compilation to x86_64-macos seems to work fine.
Description
There was some TODO left in the code to give access to the source address with UDP socket. Since I needed it for a personal use case, I added the support for it.
Notes for reviewers
Since I don't have a MacOS available currently, I couldn't run the tests. However, cross-compilation to
x86_64-macos
seems to work fine.