Date: Mon, 26 Mar 2001 13:59:02 +0900 From: Jun-ichiro itojun Hagino <itojun@iijlab.net> To: Alfred Perlstein <bright@wintelcom.net> Cc: net@freebsd.org Subject: Re: proper way to test for INET/INET6? Message-ID: <20010326045902.481FA7E73@starfruit.itojun.org> In-Reply-To: bright's message of Sun, 25 Mar 2001 12:57:10 PST. <20010325125710.S9431@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>I'm wondering how one is supposed to test for INET6 support in the >kernel. Currently a few places do it in a somewhat bogus fashion >like this: 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. itojun 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?20010326045902.481FA7E73>