[zeromq-dev] Get message size

Elliot Saba staticfloat at gmail.com
Sat Jul 25 03:47:05 CEST 2015


To answer this, I realized I had completely overlooked the zmq_msg_t based
interface, which obviates the need to know the size of the message before
receiving it.  Pardon the noise.
-E

On Fri, Jul 24, 2015 at 6:11 PM, Elliot Saba <staticfloat at gmail.com> wrote:

> Hello there, I'm trying to figure out the proper way to read a message
> whose size I do not know from a socket. Is there a way I can "peek" at the
> size of the next message part to be received in ZMQ? I'm using ZMQ 4.0.
>
> Thanks!
> -E
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150724/0ddde83d/attachment.htm>


More information about the zeromq-dev mailing list