[zeromq-dev] random crashes on zmq_ctx_term() when there is a monitored socket

Chris Laws clawsicus at gmail.com
Sun Nov 16 21:31:02 CET 2014


To close the monitor socket you need to call the monitor function again but
pass a NULL in the address field.

The call looks something like this...

rc = zmq_socket_monitor(sock_handle, c_addr, c_flags);

Set c_addr to NULL and c_flags to 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141117/3d44c510/attachment.htm>


More information about the zeromq-dev mailing list