[zeromq-dev] ZMQ 2.0.6 connect SUB socket error

Martin Lucina mato at kotelna.sk
Thu Mar 18 20:52:33 CET 2010


Hi Matthew,

mgiedt at gmail.com said:
> I traced the application to the point where it calls getaddrinfo which is
> failing on my linux machine. It's returning 1, with the error:
> 
> Name or service not known

This is bizarre. I double-checked the code in ip.cpp, cross-referenced the
Linux and POSIX manpage for getaddrinfo() and it seems to me we're doing
everything right.

Please let us know if you discover anything that might point to the cause
of the problem.

One last question: Do you have working DNS on your system? I.e. try
something like "host localhost".

Thanks,

-mato




More information about the zeromq-dev mailing list