Hello!
Please confirm it is correct poll fires on receiver side only when all parts of
a multipart message are received.
==
Sender.cpp
s.send(part1, ZMQ_SNDMORE);
/* some time consuming work */
s.send(part2);
Receiver.cpp
zmq_poll(...)
if (items[0].revents)
{
r.read(&part1);
r.read(&part2);
}
==
The question is if the design above is good from performance point of view,
or Receiver should better come back to poll after part1 to be able to do
something usefull.
Thanks.
--
Best regards,
Ilja Golshtein.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev