[zeromq-dev] understanding CZMQ and its wrap/unwrap functions

Pieter Hintjens ph at imatix.com
Thu Oct 27 19:38:47 CEST 2011


On Fri, Oct 28, 2011 at 1:17 AM, Chuck Remes <cremes.devlist at mac.com> wrote:


> So why does this functionality exist? The only reason that comes to mind is adding an envelope to a list of message frames that are part of a XREP reply. You could use zmsg_wrap() to prepend the envelope information and add the envelope delimiter from the rest of the body.

This was the reason. It's not a great reason, and I'm happy to remove
these calls, they're probably useless.

-Pieter



More information about the zeromq-dev mailing list