Receiving events
rolftimmermans opened this issue · 2 comments
rolftimmermans commented
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
?
cetra3 commented
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
cetra3 commented
Just updating this: I have published a new version 0.2.1
with your implementation. Thanks for the PR!