[zeromq-dev] EAGAIN in zmq_bind
Uli Köhler
ulikoehler.dev at googlemail.com
Thu Apr 18 12:36:55 CEST 2013
Hi there!
I started using 0MQ about a month ago and I encountered an issue I can't
explain.
I'm using ZeroMQ 3.2.2 on Ubuntu 12.10 (the issue is also reproducible on
Ubuntu 12.04 and Ubuntu 13.04) x86_64. The CZMQ 1.3.2 selftest passes on my
systems.
I created a minimal example that is basically a modified Hello World (from
the Guide) with some added asserts and error checks:
https://gist.github.com/ulikoehler/5411372
As noted in the source code, a simple zmq_bind causes errno (and
zmq_errno()) to be set to EAGAIN. However I can't find any information
about EAGAIN being a valid and documented error for zmq_bind:
http://api.zeromq.org/2-1:zmq-bind
I don't suppose the issue might be caused by permissions, because executing
as root doesn't change the behaviour.
Software versions:
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, also reproducible with 4.7
ZeroMQ 3.2.2
CZMQ 1.3.2
(I'm not using PPAs or other package sources that might have modified
ZeroMQ versions)
Recompiling 0MQ and CZMQ didn't resolve the issue.
I would be really grateful if anyone could point me in the right direction!
Best regards,
Uli Köhler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130418/f7472c14/attachment.htm>
More information about the zeromq-dev
mailing list