Hi,

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?

Thanks,
Lee



On 15 Apr 2013, at 08:03, "A. Mark" <gougol...@gmail.com> wrote:

> 
> Hi Lee,
> 
> The PUB socket is neutral towards SUBscribers that's why it's a publisher. 
> Depending on what you are trying to achieve with your mesh you may need to 
> use  different socket pair if you need such "filtering". Did you try 
> XPUB/XSUB?
> 
> 
> On Sun, Apr 14, 2013 at 10:47 PM, Lee Sylvester <lee.sylves...@gmail.com> 
> wrote:
> Hi guys,
> 
> So, I'm building a mesh and I'm using pub / sub to achieve this.  I have one 
> port for pub and one port for sub on each node.  With sub, I've set up 
> routing so the node will be interested in only a certain kind of messages.  
> My problem is with traffic.  Now, as I understand it, routing in sub means 
> that the filtering is only occurring on the subscriber; all messages are 
> received, but those messages that don't fit the filter are discarded.  Is 
> there any way to filter at the publisher end, so as to save on network 
> traffic?
> 
> Thanks,
> Lee
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to