On Jul 25, 2011, at 10:14 AM, Kim Lester wrote:

> How however I have one situation where, for efficiency, I want to not-receive 
> events from certain endpoints.
> 
> I don't think zmq_subscribe/unsubscribe will work in my particular case. 
> Besides that I suspect adding subscribe filter(s) would slow down performance 
> slightly and anyway the unwanted packets will have already been received and 
> partially processed, wasting CPU resources.


You probably want to take a look at the version 3.x releases. It includes 
publisher-side filtering which is what you want.

Using that functionality, you could then use zmq_subscribe/zmq_unsubscribe to 
only get the events during the time period you desire.

cr

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to