[zeromq-dev] Marshalling / Routing

Lee Sylvester lee.sylvester at gmail.com
Mon Apr 15 11:39:56 CEST 2013


Hi Pieter,

So, am I right in saying that, unless I create specific connections to each node, I can't limit my traffic by node?  If so, is there any way to create specific connections to nodes but using the same port?  I like the idea of using one port for outgoing messages and one for incoming messages, but using ZMQ to decide which connections handle message routing.

Thanks,
Lee



On 15 Apr 2013, at 08:55, Pieter Hintjens <ph at imatix.com> wrote:

> On Mon, Apr 15, 2013 at 9:31 AM, Lee Sylvester <lee.sylvester at gmail.com> wrote:
> 
>> I saw the XSUB and XPUB; they're dealer / router related, right?  I found it
>> hard to find information on using these directly.  If I swap out PUB/SUB for
>> XPUB/XSUB, how then do I specify who can receive what packets?
> 
> XPUB/XSUB are different from DEALER/ROUTER.
> 
> The man pages are here: http://api.zeromq.org/
> 
> See http://api.zeromq.org/3-2:zmq-socket
> 
> Then, read http://zguide.zeromq.org/page:all and you'll find examples
> of all socket types.
> 
> -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