On 5/24/12 11:19 PM, Pieter Hintjens wrote: > On Thu, May 24, 2012 at 12:23 PM, Tarek Ziadé<[email protected]> 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: http://tarek.pastebin.mozilla.org/1649255 Please let us know if that looks correct (this program behaves as I described) > > 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... Cheers Tarek > > -Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
