[zeromq-dev] Single zmq_socket_monitor to monitor multiple socket notifications

Sreejith sreejith at arssoftware.com
Thu Feb 12 08:52:06 CET 2015

Is it possible to use zmq_socket_monitor to monitor multiple sockets within
the same process?

It seems that I need to create multiple thread with multiple monitor socket
(ZMQ_PAIR) for each TCP socket that I create.
I tried using the same monitor for monitoring different monitoring sockets
(on same “inproc” address), but only the first call returns, the second call
waits forever. 

Any help will be much appreciated!

Thanks in advance!

More information about the zeromq-dev mailing list