[haiku-bugs] Re: [Haiku] #3884: short-form IP adress format broken

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 01 Dec 2014 20:08:51 -0000

#3884: short-form IP adress format broken
   Reporter:  marcusoverhagen     |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Network & Internet  |    Version:  R1/pre-alpha1
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All

Comment (by pulkomandy):

 Support for this is available in libbind in inet_aton, but not in
 inet_pton which is the multi-protocol (ie. ipv6 aware) version. This makes
 sense, since the class notation is deprecated and was replaced by network
 masks which are more flexible.

 However, getaddrinfo should handle both IPv6 (it does) and old IPv4 class
 notation. I'm not sure if it does currently.

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

Other related posts: