[zeromq-dev] multipart message receiving does not work with C++
sustrik at 250bpm.com
Thu Jun 2 12:53:21 CEST 2011
On 06/02/2011 11:37 AM, Seref Arikan wrote:
> I'm already using protocol buffers. The thing is, I can be passing
> around any protocol buffer serialization; so I need an envelope to
> tell the receiving party about the type of the message.
> I'm using multipart messages to pass two protocol buffer
> serializations; first one that contains data regarding the whole
> message, the second one, actual payload of the message.
> I'm happy to hear other approaches to handle this.
Why not simply serialise both envelope and data using protocol buffers?
More information about the zeromq-dev