[zeromq-dev] Perl question: ZMQ + AnyEvent

Robert Olson olson at mcs.anl.gov
Fri Sep 21 22:11:56 CEST 2012


On Sep 21, 2012, at 2:30 PM, Robert Olson wrote:
> However, in my client, if I set up AnyEvent to wait for the reply from the broker I am never notified. The client works perfectly if I use a synchronous receive on the socket.

Interesting: in the async code if I issue a nonblocking recv() before I drop into the AnyEvent wait code, it works properly. Is this the expected behavior?

Thanks,
--bob


More information about the zeromq-dev mailing list