[zeromq-dev] ZMQ_ROUTER_MANDATORY (was ZMQ_ROUTER_BEHAVIOR)

Ian Barber ian.barber at gmail.com
Fri Oct 19 05:37:47 CEST 2012


On Thu, Oct 18, 2012 at 8:02 PM, Pieter Hintjens <ph at imatix.com> wrote:

>
> I like that... EAGAIN is really the wrong value to use, EHOSTUNREACH
> is much nicer. At the API level too. It's not an EAGAIN error at all,
> it's "the address you used does not exist"...
>
> -Pieter
>

Thinking about it, I believe the original patch had it as a EHOSTUNREACH -
it got changed to a EAGAIN and I don't specifically recall the reason why -
I'll have to look back over the commit history.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121018/e3e3c2b5/attachment.htm>


More information about the zeromq-dev mailing list