mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-21 13:23:33 +02:00

zmq_event_t is often padded (due to a uint16_t as its first member), and thus you cannot re-interpret bytewise packed message buffers as zmq_event_t, it must be read manually. This was resulting in the value always being garbage, which is troublesome if you wish to inspect a SOCKET, for example.
This is C++ binding for 0MQ The contribution policy is at: http://rfc.zeromq.org/spec:22
Description
Languages
C++
96.2%
CMake
3.5%
Shell
0.3%