[Top][All Lists]

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

getaddrinfo() inquiry

From: Jonas Oberg
Subject: getaddrinfo() inquiry
Date: Fri, 08 Feb 2002 07:52:00 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-debian-linux-gnu)

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

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?

reply via email to

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