develooper Front page | perl.perl5.porters | Postings from April 2013

Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6support

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
April 23, 2013 19:21
Subject:
Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6support
Message ID:
20130423202041.554f8623@shy.leonerd.org.uk
On Tue, 23 Apr 2013 12:34:49 -0400
"Matthew Horsfall (alh)" <wolfsage@gmail.com> wrote:

> Currently discussing options with LeoNerd to get this moving along.

This I'm classing as a bug in

  use IO::Socket::IP -register;

Because IO::Socket::new deletes the Domain argument, there is nothing
to tell the chosen subclass what domain the user wanted. This
previously hasn't been a problem because so far there was a 1:1 mapping
from Domain to subclass. Since ::IP wants both AF_INET and AF_INET6,
this presents a problem.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Thread Previous | Thread Next


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