On Mar 19, 9:32 pm, [EMAIL PROTECTED] (Andre-John Mas) wrote: > Hi, > > Could anyone tell me whether any attempts have been made to add IPv6 > support to libwww? I am interested in this since I recently took a > look at the w3c validator and discovered that it does not support IPv6 > address. The cause is apparently limitations in LWP. > > If no attempt has been made thus far, are there any people interested > in making the necessary changes? > > Andre
I have started looking at the changes that need to be made, but I am not a Perl expert. The changes I have been making are relative to 5.808. So far I have made basic modifications, which I have made available here: http://ajmas.twilightparadox.com/misc/libwww-perl-5.808%2bipv6.tgz The changes are basically replacing references to IO::SOCKET::INET with IO::SOCKET::INET6. There are still a few outstanding issues, where IPv6 is not handled correctly. For example the url function in the file: lib/HTTP/Daemon.pm When this is complete libwww will require IO::SOCKET::INET6 as a dependency, but the library transparently handles IPv4, so it does not seem to be much of an issue. Any further improvements would be appreciated. Andre