[zeromq-dev] Issue in tcp_connecter.cpp in Windows
KIU Shueng Chuan
nixchuan at gmail.com
Tue Jan 22 00:06:36 CET 2013
I have encountered the same assertion before too on WinXP.
I think the "another service listening on the port" possibility would cause
an assert on a bind and not here?
The thing is that the user app can't do anything as zmq handles
auto-reconnect.
On Jan 22, 2013 4:35 AM, "Ian Barber" <ian.barber at gmail.com> wrote:
> 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.
>
> Ian
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130122/4211bdc6/attachment.htm>
More information about the zeromq-dev
mailing list