#8293: BNetworkAddress needs to check if there is an available IPv6 connection. ----------------------------------------+---------------------------- Reporter: kallisti5 | Owner: axeld Type: bug | Status: new Priority: high | Milestone: R1 Component: Network & Internet/Stack | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: 9269, 10033 Has a Patch: 1 | Platform: All ----------------------------------------+---------------------------- Comment (by donn): My impression is that RFC 3484 (and hence gai.conf) is about order of address returns, and I don't see any way there to suppress IPV6 queries. There may be a way to use irs.conf. The intent behind the "ipv4" flag is to suppress AF_INET6 queries when getaddrinfo() is called with AF_UNSPEC. I'm stumped by how a service port would affect that. Empirically, I do get an IPv6 address from getaddrinfo("www.google.com", "http", ...), followed by one or more IPv4 addresses. (In my present situation with someone's guest wifi, IPv6 queries get answers, instead of timing out.) There is of course a way for an application to request only AF_INET addresses - the ai_family field - but my sense is that an application should not be coded to do that. It's for the host to configure IPv4 or IPv6, and the application should work either way. -- Ticket URL: <https://dev.haiku-os.org/ticket/8293#comment:21> Haiku <https://dev.haiku-os.org> Haiku - the operating system.