Hi,
On Wed, Feb 04, 2009 at 09:24:32AM +0000, Niall O'Reilly wrote:
> On Tue, 2009-02-03 at 13:49 +0100, Gert Doering wrote:
> > but there's better ways,
> > like using IO::Socket::INET6 which will nicely handle all the details
> > for
> > you.
>
> IIRC (and it's been a while), that module indeed gives your
> Perl application access to the IPv6 network but doesn't
> allow the app to be IP-version-agnostic. Is there an
> abstraction layer which allows the app not to care about
> what network layer is in use?
Current versions of IP::Socket::INET6 are actually version-agnostic -
there's an argument to ->new() that tells the API whether you want
v4, v6, or "give me what works".
The name is a bit misleading, though...
Gert Doering
-- NetMaster
--
Total number of prefixes smaller than registry allocations: 128645
SpaceNet AG Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14 Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen HRB: 136055 (AG Muenchen)
Tel: +49 (89) 32356-444 USt-IdNr.: DE813185279
Attachment:
pgpVRpyqB4x5b.pgp
Description: PGP signature