[haiku-bugs] Re: [Haiku] #8293: BNetworkAddress needs to check if there is an available IPv6 connection.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2015 18:02:46 -0000

#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 pulkomandy):

 As already mentionned above, http://www.ietf.org/rfc/rfc3484.txt describes
 the algorithm that should be used for this.

 Linux implements this and has a way to further tweak the resolution
 through /etc/gai.conf (http://linux.die.net/man/5/gai.conf)

 The "ipv6" option in resolv.conf is for gethostbyname only. getaddrinfo is
 passed the "service" (port number) so it can use the right address family.
 So I'm not sure having the "ipv4" option there makes sense, after all.

--
Ticket URL: <https://dev.haiku-os.org/ticket/8293#comment:20>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: