[zeromq-dev] Python / ZMQ - EAGAIN

Antonio Teixeira eagle.antonio at gmail.com
Mon Apr 23 18:37:33 CEST 2012


Ok So here I'm one more time :)

In my async framework I do use zmq.noblock ( Poller is not green enough :D
) to avoid blocking when doing a recv() or send()

The question is dead simple but i couldn't find a way to differentiate this
situation.

How can i distinct between EAGAIN raised because the socket is not ready.

Or

EAGAIN raised because on a REQ socket i'm calling send() instead of recv()


Regards
Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120423/cd60f60a/attachment.htm>


More information about the zeromq-dev mailing list