Thomas Lussnig <[EMAIL PROTECTED]> writes: > Ok first we don't need this difference. I think it's not so easy than > it first seem's. > Because IPv6 is an superset of IPv4 there is an representation fo IPv4 > Adresses.
But is it desirable to use it in preference to "native" IPv4 calls? I apologize if I appear anal here -- it's just that if we do add IPv6 support to Wget, I'd like it to be done "right", as far as that's possible. >>Your patch seems to introduce possibly non-portable functions such as >>inet_pton and gethostbyname2 without checking whether they exist. >> > Thats correct i only knew they are avaible on Linux and BSD, but this > is the ground i make the ifdefs. > And i think that this to call's can checked from Makefile. Or easely > replaced with more compatible (if exists). I would like to use only the "tried and true" calls when compiling for IPv4. The ones Wget 1.8.1 uses have been chosen for maximum portability in preference over elegance.
