[zeromq-dev] Forwarder stops forwarding

gonzalo diethelm gdiethelm at dcv.cl
Thu Jun 10 22:57:51 CEST 2010

> Printing the err variable shows a value of 113 which is ECONNABORTED I
> believe. We had a switch rebooted around this time so that was
> the cause.

I think it would be a good idea to print the errno value before
asserting. Not knowing exactly where 0MQ prints messages, something like

  if (err != ECONNREFUSED &&
      err != ETIMEDOUT &&
      err != ECONNABORTED) {
    fprintf(stderr, "Unexpected network error %d, aborting\n", errno);
    zmq_assert (false);

Gonzalo Diethelm

More information about the zeromq-dev mailing list