[zeromq-dev] strip topic in zmq message

Martin Sustrik sustrik at 250bpm.com
Fri Jan 22 19:06:23 CET 2010

Hi Guo,

> Hi Martin, the publish topic is part of received data buffer. Is there a 
> function to strip it off?

0MQ doesn't have notion of a topic. Message is an opaque BLOB. What 
subsctiptions do is they check beginning of the message for a particular 
string. Having no topics there's no way to strip them off. You'll have 
to do that by hand.


More information about the zeromq-dev mailing list