[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getaddrinfo() inquiry

From: Andreas Jaeger
Subject: Re: getaddrinfo() inquiry
Date: Fri, 08 Feb 2002 13:25:46 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux)

Jonas Oberg <address@hidden> writes:

> I noticed earlier today that getaddrinfo() in glibc-2.2.4 does not
> handle the more esoteric dotquad-addresses (for example, `ping
> 0xc7.0350.19364'). This is in accordance with the man-page which
> states that only decimal dotquad-addresses are allowed, so it's not a
> bug.
> Several programs have begun relying on getaddrinfo() instead of the
> inet_aton() and gethostbyname() combination which makes them fail for
> such addresses.
> The question is really; is there any specification for how
> getaddrinfo() should behave? And if I made a patch to enable it to
> handle all kinds of dotquad-addresses, would it have any chance of
> being included in the glibc development tree?

Check the new posix standard, it's online available from the open

 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]