[zeromq-dev] multipart message receiving does not work with C++

Joshua Foster jhawk28 at gmail.com
Thu Jun 2 12:56:41 CEST 2011


Here is a recommended way in protobufs - http://code.google.com/apis/protocolbuffers/docs/techniques.html#self-description

Joshua

On Jun 2, 2011, at 6:53 AM, Martin Sustrik wrote:

> 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?
> 
> Martin
> 
> _______________________________________________
> 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