[zeromq-dev] Issue in tcp_connecter.cpp in Windows

Ian Barber ian.barber at gmail.com
Mon Jan 21 21:35:24 CET 2013

On Mon, Jan 21, 2013 at 9:23 AM, Pau <pau at teleopsia.com> wrote:

> etimes (mayby minutes, maybe hours) an error WSAEADDRINUSE happens.
> In line (253) some values are checked and the error is dicarded if it is a
> known error but not WSAEADDRINUSE.
>     //  Assert if the error was caused by 0MQ bug.
>     //  Networking problems are OK. No need to assert.

The problem here is that your have a spurious address in use (or at least a
very short term one), but a long term address in use is an error that needs
to be handled. I'm not sure your fix is the right one, because if there is
another service listening on the port, it should error here. It is a tricky
error though, for exactly these reasons. I would be inclined in application
to spin and try again.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130121/069383ac/attachment.htm>

More information about the zeromq-dev mailing list