NAME

P2P::pDonkey::Met - Perl extension for handling *.met files of eDonkey peer2peer protocol.

SYNOPSIS

use Tie::IxHash;
use P2P::pDonkey::Met ':all';

...

my (%servers, $nserv);
tie %servers, "Tie::IxHash";
$nserv = ReadServerMet($ARGV[0] || 'server.met', \%servers);
PrintServerMet(\%servers);
print "Servers: $nserv\n";

...

foreach my $f (@ARGV) {
    my $p = ReadPartMet($f);
    if ($p) {
        printInfo($p);
    } else {
        print "$f is not in part.met format\n";
    }
}

DESCRIPTION

The module provides functions for reading, printing and writing *.met files of eDonkey peer2peer protocol.

P2P::pDonkey::Met provides the following subroutines:

ReadServerMet
WriteServerMet
PrintServerMet
ReadPartMet
WritePartMet - not yet

EXPORT

None by default.

AUTHOR

Alexey Klimkin, <klimkin@mail.ru>

SEE ALSO

perl.

eDonkey home:

    <http://www.edonkey2000.com/>

Basic protocol information:

    <http://hitech.dk/donkeyprotocol.html>
    
    <http://www.schrevel.com/edonkey/>

Client stuff:

    <http://www.emule-project.net/>
    
    <http://www.nongnu.org/mldonkey/>

Server stuff:

    <http://www.thedonkeynetwork.com/>