zeromq / azmq

C++ language binding library integrating ZeroMQ with Boost Asio
Boost Software License 1.0
319 stars 109 forks source link

Update to support ZeroMQ 4.3.2 and Boost 1.72.0 #159

Closed cqjjjzr closed 3 years ago

cqjjjzr commented 4 years ago

The socket test case was failing due to an additional event added in new version of ZeroMQ. ZMQ_EVENT_HANDSHAKE_SUCCEEDED event is emitted after the connection is established on both sides. However, the older ZeroMQ version may lose support because of this change. So a change to README.md will be necessary.

All reference to io_service is replaced to io_context.

The compiling was failing due to the removed get_io_service() / get_io_context() functions. Now we should replace all calls to get_executor().context().

matthiasklein commented 3 years ago

I have the same problem on latest Arch Linux.

Is support for the current versions planned?

aboseley commented 3 years ago

The extra events in newer version of zmq should be addressed by the fix to !175