Subject: Re: rfc2553 support on non-IPv6 systems?
To: None <>
From: Gert Doering <>
List: tech-pkg
Date: 03/02/2005 22:52:29
In 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

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?

--   fax: +49-89-35655025

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