[zeromq-dev] disconnection / shutdown

Martin Sustrik sustrik at fastmq.com
Wed Mar 11 10:10:57 CET 2009


> Is there a way to shutdown a queue and or exchange and release the
> corresponding port? I remember reading sometime back that this was a
> planned feature for a future release?
> I'm using ZeroMQ to implement a shared library. My shared library is
> then dynamically loaded and unloaded as a plug-in by some user
> process. As it is, if the user process tries to reload my plug-in then
> the user process crashes with the message  "Address already in use."

This shouldn't happen. We are deliberately setting SO_REUSEADDR on the 
sockets so that this kind of thing doesn't happen.

Do you have a test code to reproduce the problem?


More information about the zeromq-dev mailing list