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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Feb 2012 21:20:51 -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:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by axeld):

 Replying to [comment:12 kallisti5]:
 > Seems the only one that makes sense is B.  Axel, do we have address
 scope?

 I don't know what you mean by that question - IPv6 addresses do have
 scope, so we have, too. It's only interesting for routing, AFAICT. BTW, I
 would have suggest a) as the best choice, as link local addresses are fine
 for the local network, and nobody stops you from having a DNS server just
 for that one.

 Maybe we do need to be a bit more intelligent or dumb with it. The
 intelligent solution could check if IPv6 can reach the address before
 returning it, the dumb solution would put the burden to the user to
 specifically turn on IPv6 when wanted.

 However, I would suggest to first look at how it works in other operating
 systems like Linux, FreeBSD, or even Windows and MacOS X. It's not a
 problem that only Haiku should have, and there might be smart solutions
 out there that we didn't think of yet.

 Replying to [comment:13 donn]:
 > the lack of symmetry in implementation is natural.

 Alright, sounds convincing enough to me :-)

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

Other related posts: