On Fri, Mar 31, 2006 at 05:21:42PM +0200, Ralf Wildenhues wrote: > > Perhaps it's a good idea to port any internal structure to > > IPv6, as it is able to represent the whole v4 namespace. > > One can always determine whether it is a real v6 or only > > a mapped v4 address (the common ::ffff: prefix) > I'm far from knowledgeable in this networking area, but I have a > maybe-naive question here: Won't you have to assume in this case that > the host operating system has IPv6 support, so that the corresponding > data structures are defined?
This is true. I don't know of any modern OS without IPv6 support, even Windows provides these structures ;) If there is really a platform without sockaddr_in6, this should be catched by configure (reverting to v4-only code, a little tricky, yes). As far as I know: All BSDs have v6, Linux has, HPUX, AIX, Solaris, Windows (XP for sure, 2000 experimental, 9X/ME don't). -- mail: a...@thur.de http://adi.thur.de PGP: v2-key via keyserver Schlecht: Dein Mann zieht gerne Frauenkleider an. Panik: Er sieht darin besser aus als du.