Alexey Klimkin > P2P-pDonkey > P2P::pDonkey::Util

Download:
P2P-pDonkey-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.05   Source  

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.

syntax highlighting: