[zeromq-dev] Issue 270

Pieter Hintjens ph at imatix.com
Wed Nov 6 23:16:00 CET 2013


Sorry, I spoke too soon. While the zmq_poll works in some cases, it
does not work consistently.

I'm trying something else, which is to use an XSUB socket and send the
subscription explicitly.

On Wed, Nov 6, 2013 at 11:03 PM, Pieter Hintjens <ph at imatix.com> wrote:
> Hi Guys,
>
> I stumbled across issue 270 today, aka 559, 248, 550.
>
> A proper fix is waiting for someone willing to fix the plumbing...
> however I've tested the workaround estabroo proposes in 559, and it
> works.
>
> Here's an example:
>
> https://gist.github.com/hintjens/7344533
>
> If you replace the zmq_poll with a sleep, the test fails as we know.
>
> -Pieter



-- 
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com



More information about the zeromq-dev mailing list