[zeromq-dev] Broadcasting with a Router ?

Ian Barber ian.barber at gmail.com
Fri Jul 13 03:14:50 CEST 2012


On Thu, Jul 12, 2012 at 11:57 PM, Grégoire Passault <g.passault at gmail.com>wrote:

> Of course ...
>
> But think of an "hybrid" Router-and-Pub socket, users could subscribe to
> broadcast or exchange adressed data in the same socket. Why not?
>
> Greg
>

You could build it with PUB pretty easily, have every subscriber subscribe
to some string for their identity, and to an 'all' flag, then have the
publisher send to whichever it preferred.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120713/7b8592f1/attachment.htm>


More information about the zeromq-dev mailing list