[zeromq-dev] [zmqpp] Multipart messages
Pieter Hintjens
ph at imatix.com
Fri Dec 20 09:27:22 CET 2013
Indeed. Pushing/popping frames from the start of the message are very
common operations. It could be useful, if you expand on this, to take
the language from CZMQ (frame vs. message).
On Thu, Dec 19, 2013 at 5:29 PM, Lindley French <lindleyf at gmail.com> wrote:
> I'm looking through the zmqpp binding, and I have a question about multipart
> messages. It appears that the zmqpp::message_t structure represents an
> entire message, not just a part of one, and in fact it appears that if you
> use the << operator each element becomes a new message part. This is fairly
> reasonable.
>
> However, there doesn't appear to be a way to push or pop a message part from
> the front of a message without creating an entirely new message_t and moving
> the other parts over. This seems like a significant oversight, considering
> how often zmq likes to prepend parts to messages for various reasons.
>
> _______________________________________________
> 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