Subject: Re: rfc2553 support on non-IPv6 systems?
To: None <tech-pkg@netbsd.org>
From: Gert Doering <gert@greenie.muc.de>
List: tech-pkg
Date: 03/02/2005 22:52:29
In muc.lists.netbsd.tech.pkg Georg Schwarz wrote:

>devel/distcc uses

>CONFIGURE_ARGS=                --enable-rfc2553

>Does this make sense on non-IPv6 systems?

Yes.  The old API (gethostbyname() and friends) should just not be used
anymore.

Using getaddrinfo() on IPv4-only legacy systems will not do harm - it will
do exactly the same as gethostbyname() (namely, return all available IPv4
addresses for the target system), but will not put you into the IPv4-only
corner forever.

Imagine your system having IPv6 one day - do you want to recompile all
installed software to be able to use it?

gert
-- 
gert@greenie.muc.de   fax: +49-89-35655025   http://alpha.greenie.net/mgetty/

If you don't like the weather in New England, wait fifteen minutes; it
will change.
                                -- Mark Twain