[zeromq-dev] Code-style question

Marco Trapanese marcotrapanese at gmail.com
Wed May 23 09:07:39 CEST 2012


Il 23/05/2012 08:33, Ivan Pechorin ha scritto:

>   We tend to send protobuf (see http://code.google.com/p/protobuf/)


Thanks for your answer.
Currently I use something like that for the data (I use the 
serialization utility provided by Qt). I think protobuf is butter 
because is not tied to a specific environment.

I read through the protobuf doc but I see examples about the exchange of 
pure data ( = variables).

When you have to send commands, do you use a fields to represent the 
enum of the desired command and the others the parameters, don't you?

Bye
Marco





More information about the zeromq-dev mailing list