[zeromq-dev] several binds on the same ipc

Pieter Hintjens ph at imatix.com
Mon May 28 10:14:06 CEST 2012


On Fri, May 25, 2012 at 4:38 PM, Ian Barber <ian.barber at gmail.com> wrote:

> In 2.2 I'm seeing the last bind win (at least within the same process),
> which kind of makes sense as there is some code that just blows away the IPC
> file if it already exists, which I believe is mainly there to allow handling
> previous runs that did not exit properly and clean up after themselves.

Yes, I remember this change. Since IPC endpoints are persistent, if
there's a crash this is the obvious way of recovering.

How to prevent two brokers binding to the same endpoint?

I'm not sure there's any solution that will give both behaviours.

-Pieter



More information about the zeromq-dev mailing list