I moved to checking zmq_error because I was getting the exact same behaviour 
with
Zerrno = zmq_poll(...);

So how exactly should I check for errors with polling?

Claudio


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of gonzalo diethelm
Sent: giovedì 16 agosto 2012 21:08
To: ZeroMQ development list
Cc: [email protected]
Subject: Re: [zeromq-dev] Checking for errors on zmq_poll: is it correct?

A tiny nitpick: it is an ERROR to check errno (or zmq_error()) if the call did 
not return an error status.

--
Gonzalo Diethelm
DCV Chile


_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to