On Mon, Apr 23, 2012 at 09:37, Antonio Teixeira <[email protected]>wrote:

> 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()
>

Easy:  EAGAIN is not raised on a REQ socket calling send when it should be
recv, EFSM is.


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

Reply via email to