[zeromq-dev] What is exactly an empty message

Ian Barber ian.barber at gmail.com
Sun Feb 3 10:56:14 CET 2013


On Sunday, February 3, 2013, Majid Azimi wrote:

> Hi guys,
>
> I'm a bit confused with examples in Code Connected book.
> In the book when it want to send an empty message as delimiter frame it
> uses:
>
> zmq_send(socket, "", 0, 0);
>


They're the same, an empty message is one with body length 0. The
subscribes are the same as well, the last argument is saying the length is
0.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130203/bb93030a/attachment.html>


More information about the zeromq-dev mailing list