Net::INET6Glue(3pm)

πŸ“¦
version 0.604 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Net::INET6Glue πŸ’–

okay bestie, gather round, because this is Net::INET6Glue β€” the little Perl module (from the User Contributed Perl Documentation corner of the world) that makes your fave common modules IPv6 ready by hotpatching them. yes. hotpatching. she's a glow-up artist for old code and she is not subtle about it. πŸ’…


✨ SYNOPSIS ✨

like, just do this and watch the magic happen:

use Net::INET6Glue; # include all glue
use LWP;
use Net::SMTP;
use Net::FTP;
..

that's it. that's the whole vibe. 🫢


🌸 DESCRIPTION 🌸

so Net::INET6Glue is a whole collection of modules whose entire job is making common modules IPv6 ready by hotpatching them. iconic behaviour honestly. πŸ‘‘

now for the sad part, and I'm gonna be real with you: the current state of IPv6 support in perl is that there is no IPv6 support in the core, and a lot of important modules (like Net::FTP, Net::SMTP, LWP, ...) don't support IPv6 either β€” even if the modules for IPv6 sockets, like Socket6, IO::Socket::IP or IO::Socket::INET6, are available. it's giving "everyone has the ingredients but nobody's cooking". 😭

so this module tries to mitigate that, by hotpatching. currently the following submodules are available:

  • Net::INET6Glue::INET_is_INET6 β€” makes IO::Socket::INET behave like IO::Socket::IP (with fallback to like IO::Socket::INET6), and especially makes it capable of creating IPv6 sockets. this is the one that makes LWP, Net::SMTP and others IPv6 capable. queen of the group project fr fr. πŸ”₯
  • Net::INET6Glue::FTP β€” hotpatches Net::FTP so it supports the EPRT and EPSV commands, which are needed to deal with FTP over IPv6. also loads Net::INET6Glue::INET_is_INET6, because she brings her friend everywhere. πŸ¦‹

this module, and the modules in the Net::INET6Glue Hierarchy distributed together with this module, are copyright (c) 2008..2014, Steffen Ullrich. All Rights Reserved. these modules are free software β€” they may be used, redistributed and/or modified under the same terms as Perl itself. πŸ’œ


ngl, the version info matters too: this is perl v5.32.1, dated 2021-02-28. and that's the Net::INET6Glue(3pm) page β€” thanks for reading, bestie, go make something IPv6 🧚✨🌈
πŸ“¦ where this page comes from