dowlingw/m2net — comment on commit 322a0d6815c02ffdcba360dcd8429701925bd24f
File: m2net/Connection.cs line 74
By dowlingw:

These are the possible errno's that can be thrown by the zmq lib:
* zmq_msg_init_size call
* ENOMEM
* zmq_send
* EAGAIN
* ENOTSUP
* EFSM
* ETERM
* ENOTSOCK
* EINTR
* EFAULT

To keep the existing m2net behaviour, we should only be retrying if the error thrown is EAGAIN (correct me if I'm wrong).
Not sure what the correct behaviour would be in the other cases, rethrow the exception perhaps? Not sure.

Looks like clrzmq2 doesn't export a symbol for the EAGAIN constant, as it's platform-dependant apparently.
Might be worth lodging a bug against that project - thoughts?