develooper Front page | perl.perl5.porters | Postings from June 2010

Re: [perl #75740] IPv6 support missing in perl5.10, perl5.12

Thread Previous
From:
Curtis Jewell
Date:
June 15, 2010 07:31
Subject:
Re: [perl #75740] IPv6 support missing in perl5.10, perl5.12
Message ID:
1276612295.26910.1380207253@webmail.messagingengine.com


On Tue, 15 Jun 2010 10:00 +0200, "Rafael Garcia-Suarez"
<rgs@consttype.org> wrote:
> On 14 June 2010 18:39, sullr@cpan.org <perlbug-followup@perl.org> wrote:
> > What's missing in the CORE:
> > - getaddrinfo (gethostbyname gives only IPv4)
> > - inet_pton, inet_ntop (similar to inet_aton, inet_ntoa but also for
> >  IPv6)
> 
> Note that Configure already probes for those functions.
> 
> > - support for IPv6 in Net::* Modules (Net::SMTP, Net::FTP.. are bound to
> >  use IO::Socket::INET which does not do IPv6)
> > - comfortable use of sockets similar to IO::Socket::INET6
> >
> > What help could CPAN provide:
> > - Socket6 - which provides getaddrinfo, inet_ntop, inet_pton..
> 
> I'd vote against : looking at it, its compilation process is too
> complex, it contains an incomplete implementation of getaddrinfo (used
> when the system has none), and its license is complex.

I want to -1 this as well. (ok, so I'm not a committer yet.)

Reason being that insane compilation process. It did NOT compile on
Strawberry (I wanted to include it in Professional!)

--Curtis

> We could provide instead a bare-bones module that just wraps around
> getaddrinfo, getnameinfo, inet_ntop and inet_pton (maybe other ones).
> 
> What about the IP:: namespace for those ? (or we could also stuff them
> in POSIX::)

NOT POSIX::. But otherwise a good idea.

--Curtis Jewell
--
Curtis Jewell
csjewell@cpan.org           http://csjewell.dreamwidth.org/
perl@csjewell.fastmail.us   http://csjewell.comyr.org/perl/

"Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c

Strawberry Perl for Windows betas: http://strawberryperl.com/beta/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About