[zeromq-dev] several binds on the same ipc

Tarek Ziadé tarek at ziade.org
Fri May 25 09:27:55 CEST 2012

On 5/24/12 11:19 PM, Pieter Hintjens wrote:
> On Thu, May 24, 2012 at 12:23 PM, Tarek Ziadé<tarek at ziade.org>  wrote:
>> I am not sure what's the rule here but it appears that the first one to bind
>> is the winner.
>> I am guessing this is a bug in zmq, right ?
> If this is indeed the behavior, it sounds like a bug. The code should
> maybe check first off that the IPC endpoint isn't already used. Or
> perhaps there's an error that's not being checked.

So here's the C demo Benjamin wrote to demo this:


Please let us know if that looks correct (this program behaves as I 

> Either way, if you want to send a patch, that'd be welcome.

Unfortunately, I have zero knowledge of the zeromq code and I am quite 
rusty in c/c++ :)

If someone hints me where to look I can try...


> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list