[zeromq-dev] Resolving localhost

Lindley French lindleyf at gmail.com
Fri Jan 3 22:52:31 CET 2014

For a simple test case I'm working on, I tried creating two zmq sockets,
then binding one to "tcp://localhost:12345" and connecting the other to the
same address.

The one connecting worked fine. The one binding did not. After some
investigation, it appears that tcp_address.cpp's resolve_nic_name just
doesn't understand that "localhost" means to use the loopback interface.

The question is: is this a reasonable thing to add?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140103/2ddbe72b/attachment.htm>

More information about the zeromq-dev mailing list