connamara/quickfixn — pull request #295 by staffanu (2014-12-09 16:51:03+00:00)
Title: Use only ipv4 addresses returned by Dns.GetHostAddresses

If Dns.GetHostAddresses returns IPv6 addresses, the SocketInitiator tries to use them. Since the acceptor does not bind to IPv6 addresses, this seems illogical. This patch filters out IPv4 addresses only.

Especially when testing, many machines have an IPv6 address in the host file for localhost.

I believe this is a practical fix until IPv6 support is added to all parts of the code.

Staffan