There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

P2P::pDonkey::Util - Utility functions for P2P::pDonkey extensions.

SYNOPSIS

use P2P::pDonkey::Util ':all';
print ip2addr(addr2ip('176.16.5.33')), "\n";

DESCRIPTION

addr2ip HOSTNAME
Analog for inet_aton, but returns unpacked ip number.
ip2addr IP_NUMBER
Analog inet_ntoa, take as argument unpacked ip number.

EXPORT

None by default.

AUTHOR

Alexey Klimkin, <klimkin@mail.ru>

SEE ALSO

perl, Socket.