Releases: dallison/cpp_toolbelt
Releases · dallison/cpp_toolbelt
Release 2.1.2
Release 2.1.1
What's Changed
Full Changelog: 2.1.0...2.1.1
Release 2.1.0
Make multicast-group helpers and vsock fallback portable to QNX (#20)
* Make multicast-group helpers and vsock fallback portable to QNX
Two small portability fixes so this builds on QNX (and stays building
on macOS / BSDs):
* UDPSocket::JoinMulticastGroup / LeaveMulticastGroup used the
Linux-only struct ip_mreqn (with imr_ifindex). Switch to the
POSIX-portable struct ip_mreq. Behaviour is unchanged on Linux:
the previous code passed imr_ifindex = 0, which is equivalent to
INADDR_ANY in ip_mreq.imr_interface.
* The fallback definition of struct sockaddr_vm in sockets.h had a
typo `_APPLE__` (single leading underscore). This is harmless on
Apple, where <sys/vsock.h> is used instead, but on a system that
actually hits the fallback (e.g. QNX) a true `__APPLE__` macro
would never have inserted svm_len. Fix the spelling.
Made-with: Cursor
* Fix bazel test //...
Release 2.0.2
Release 2.0.1
Fixes pedantic compiler warnings.
Update to new coroutines library
Full Changelog: 2.0.0...2.0.1
Release 2.0.0
What's Changed
- Renamed module to cpp_toolbelt for BCR
- Use const Coroutine pointers by @dallison in #17
- Update to use coroutines from the bazel central registry by @dallison in #18
Full Changelog: 1.4.8...2.0.0
Virtual sockets with no header file
Allows missing vm sockets header files.
Virtual sockets
Support for missing vm sockets headers
Older kernels don't have VM sockets
Getting
toolbelt/sockets.h:20:10: fatal error: 'linux/vm_sockets.h' file not found
#include <linux/vm_sockets.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.Trying Mikael's fix.
Minor changes to sockets
Merges Mikael's code to handle Unix socket names and removes some constructors for classes.