[zeromq-dev] patch to add zmq_msg_flags()

Martin Sustrik sustrik at 250bpm.com
Sat Oct 29 15:34:58 CEST 2011


Hi Chuck,

> As you said, the patch does not clear the flags from the message
> object before returning it to the user. This is necessary so the user
> can interrogate the object for its flags. However, when sending this
> *same* message, the zmq::socket_base_t::send() function now clears
> the flags before transmitting the data over the wire. I believe this
> maintains *current semantics* without introducing any breaking
> behavior. If I am wrong, please explain so I can understand it.

Ah, I missed that part. Sorry!

I'll merge it in shortly.

Martin



More information about the zeromq-dev mailing list