Socket_getaddrinfo Command

Socket_getaddrinfo Command

socket_getaddrinfo

module implementing getaddrinfo and getnameinfo

Maintainer: Debian Perl Group



Section: perl

Install socket_getaddrinfo

  • Debian apt-get install libsocket-getaddrinfo-perl Click to copy
  • Ubuntu apt-get install libsocket-getaddrinfo-perl Click to copy
  • Kali Linux apt-get install libsocket-getaddrinfo-perl Click to copy
  • Raspbian apt-get install libsocket-getaddrinfo-perl Click to copy

libsocket-getaddrinfo-perl

module implementing getaddrinfo and getnameinfo

Socket::GetAddrInfo provides a Perl implementation of the getaddrinfo and getnameinfo functions as described in RFC 2553. These functions are useful for converting between a pair of host name/service name and socket addresses, or vice versa. This module uses underlying C code to do most of the work if possible, but can also fall back on some mostly-compatible emulation code written in Perl. This means that this module is a fairly portable implementation of these functions. As of Perl version 5.14.0, Perl already supports `getaddrinfo' in core. On such a system, this module simply uses the functions provided by `Socket', and does not need to use its own compiled XS, or pure-perl legacy emulation. As `Socket' in core now provides all the functions also provided by this module, it is likely this may be the last released version of this module. And code currently using this module would be advised to switch to using core `Socket' instead.

Installation of latest socket_getaddrinfo command is available for Debian, Ubuntu, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.