cetra3/tmq

Receiving events

rolftimmermans opened this issue · 2 comments

I'm trying to set up socket monitoring with .monitor(..) on a socket builder.

However I am stuck because there seems to be no ZMQ_PAIR socket type to connect to the monitoring socket that libzmq sets up.

How can I receive socket events with tmq?

That's a good question, I am assuming that the pair socket type hasn't been implemented yet! Happy to accept a PR here.

In the interim you should be able to use a background thread and the standard zeromq crate as long as it's the same Context

Just updating this: I have published a new version 0.2.1 with your implementation. Thanks for the PR!