Skip to content

tcp: Check all resolved addresses

On a system with IPv6 disabled but the resolver returning IPv6 addresses, socket creation will fail with:

Unable to create socket: Address family not supported by protocol

On server side, try each address until valid one found. Additionally on client try to connect with each valid address as well.

Edited by Doug Nazar

Merge request reports