BSD Ports

net/p5-IO-Socket-IP 0.43 DragonFly

Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
net, perl5
Package size
27.9 KiB, 74.9 KiB installed

Description

IO::Socket::IP provides a protocol-independent way to use IPv4 and IPv6 sockets, as a drop-in replacement for IO::Socket::INET. Most constructor arguments and methods are provided in a backward-compatible way. For a list of known differences, see the IO::Socket::INET INCOMPATIBILITES section below.

It uses the getaddrinfo(3) function to convert hostnames and service names or port numbers into sets of possible addresses to connect to or listen on. This allows it to work for IPv6 where the system supports it, while still falling back to IPv4-only on systems which don't.

In the other systems

SystemPortVersion
DragonFlynet/p5-IO-Socket-IP0.43
FreeBSDnet/p5-IO-Socket-IP0.44
MidnightBSDnet/p5-IO-Socket-IP0.44
HardenedBSDnet/p5-IO-Socket-IP0.44
GhostBSDnet/p5-IO-Socket-IP0.44

Install

Binary package:

pkg install p5-IO-Socket-IP

From DPorts:

cd /usr/dports/net/p5-IO-Socket-IP && make install clean

Dependencies

Run dependencies 1