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

Pieter Hintjens ph at imatix.com
Mon Apr 8 19:47:48 CEST 2013


Hi Matthew,

I'm in the middle of writing a blog post on how to send messages
upstream from XSUB to XPUB. It works already but doesn't support
multipart messages (I'll fix that).

There are already some examples: http://hintjens.com/blog:37 and
http://hintjens.com/blog:38.

-Pieter

On Fri, Apr 5, 2013 at 7:47 PM, Matthew Woehlke
<matthew.woehlke at kitware.com> wrote:
> I have an interactive publish application that takes a request from a
> client and does various computations which result in an ongoing stream
> of results. Is there a way to implement this with *one* bind address on
> the publisher? (I don't care if it involves multiple sockets internally,
> just as long as the user of the client only needs to specify one address
> for the server.)
>
> I was thinking of using XPUB+XSUB or XPUB+{SUB,PUSH} but it is not at
> all clear from the documentation if this will work... What is the
> appropriate way to write an application that can both receive and
> publish messages on the same address?
>
> --
> Matthew
>
> _______________________________________________
> 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