[zeromq-dev] conventions in bindings

john skaller skaller at users.sourceforge.net
Thu Feb 2 19:50:20 CET 2012


On 03/02/2012, at 5:33 AM, MinRK wrote:

> 
> message-container:
> a zmq_msg_t object
> 
> This I think is exactly the point of confusion I would like to address.  zmq_msg_t *does not* contain a message, it contains a message *fragment*.

You're right. My bad!

> A Message is the information contained in a collection of (one or more) zmq_msg_t objects linked by SND/RCV_MORE.  

It can be. But actually that isn't so in the Felix binding, only one zmq_msg_t object is used 
at a time, the fragments are lifted out put into a list or array or strings.
[Not very efficient but it will do for the moment :]


--
john skaller
skaller at users.sourceforge.net







More information about the zeromq-dev mailing list