I'm working on a Majordomo implementation in Perl using the ZeroMQ-0.21 wrapper
and have a mystery concerning AnyEvent support with it.
I'm using AE to drive the broker (using AE I/O watchers for incoming traffic on
the worker and client sockets, and setting up AE timers to handle heartbeats
an
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() be
Hi,
On Fri, Sep 21, 2012 at 9:11 PM, Robert Olson wrote:
> 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.
>
On Sep 21, 2012, at 5:31 PM, Pedro Melo wrote:
> Hi,
>
> On Fri, Sep 21, 2012 at 9:11 PM, Robert Olson wrote:
>> 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 perf
Hi, I'm the maintainer of perl ZMQ modules.
I'm away fron my computer atm, so can only guess, but does it work if you
put a
AnyEvent::Util::fh_nonblocking($fd)
before creating the IO watcher?
and yes, for new code you should be using ZMQ::LibMQ2.
2012年9月22日土曜日 Robert Olson ol...@mcs.anl.gov:
>