[zeromq-dev] req+pub on same address?

Pieter Hintjens ph at imatix.com
Mon Apr 8 23:09:57 CEST 2013


On Mon, Apr 8, 2013 at 9:09 PM, Matthew Woehlke
<matthew.woehlke at kitware.com> wrote:

> Thanks; the second, with XPUB/XSUB looks like what I am trying to do.
> (Is this available in 3.2.2? Or would I need to build master?)

You need master, it's not on 3.2.

> I still don't understand DEALER/ROUTER... can I use ROUTER like XPUB?
> I.e. will it broadcast messages based on subscriptions? (It would be
> great if there was a table/chart somewhere that described what happens
> for each socket type when you send or receive. I haven't found any such
> thing yet :-(.)

No, ROUTER does not copy messages, it's an addressable socket so a
message goes to 1 specific connection (or gets dropped).

> Alas, we are using a bolt-on protocol scheme that uses multi-part
> messages. Do you have an estimate when that will be fixed? (I guess it
> will need a new 0MQ release?)

It will need a new release in any case.

-Pieter



More information about the zeromq-dev mailing list