[zeromq-dev] zmq errno 156384763
rakesh.patel8552 at gmail.com
Thu Feb 28 16:31:15 CET 2013
Yes, it is easily reproducible in following steps.
1) Sever creates "ZMQ_REP" socket and bind it to "tcp://*:5555" and blocks
2) Client creates "ZMQ_REQ" socket and connect it to "tcp://localhost:5555".
3) Client send "hello" message and waits for Sever response.
4) Sever receive "hello" message, Server reply with two messages
(multi-part messages). First message "Fine" and send_more to true. Second
message "ZERO length message" and send_more to false.
5) Client receives first "FINE" message on first zmq_recv and failed with
zmq errno 156384763 on second zmq_recv.
Why zmq_send not able to send "zero length message" ?
Date: Wed, 27 Feb 2013 19:19:27 +0100
From: Pieter Hintjens <ph at imatix.com>
Subject: Re: [zeromq-dev] zmq errno 156384763
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
NjHMXeQ3UknORa-ar7d=pQY4qe8C5DKw at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Can you reproduce this with a minimal test case?
On Wed, Feb 27, 2013 at 6:01 PM, Rakesh Patel
<rakesh.patel8552 at gmail.com> wrote:
> Hi ,
> I am trying to send multi-part messages using zmq_send function. In the
> message, i set send_more to zero and this is zero sized message. On the
> receiving end using zmq_recv, it sets zmq errno 156384763 when receiving
> last message. In the documentation, it has written "You may send
> messages, e.g. for sending a signal from one thread to another." then why
> is giving error.
> Is it going to cause any issue (memory leak ?? or any) ?
> Please let me know,
> Thank you,
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev