Date: Mon, 26 Mar 2001 00:49:06 -0700 (MST) From: Alex Rousskov <rousskov@measurement-factory.com> To: Jun-ichiro itojun Hagino <itojun@iijlab.net> Cc: net@FreeBSD.ORG Subject: Re: proper way to test for INET/INET6? Message-ID: <Pine.BSF.4.10.10103260045260.86491-100000@measurement-factory.com> In-Reply-To: <20010326045902.481FA7E73@starfruit.itojun.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Mar 2001, Jun-ichiro itojun Hagino wrote: > what are you planning to do after checking IPv6 support in the kernel? > applications should be written so that it would work on both > IPv4-only, IPv6-only and IPv4/v6 dual stack kernels, by using > getaddrinfo(3) and getnameinfo(3). you do not need to check if you > write applications properly. Yes, in the ideal world that might be true. In the real world, one has to rely on ./configure and other awful hacks to just declare a couple of innocent-looking address-related variables (and to compile on more than one platform). Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10103260045260.86491-100000>