The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

client.pl - Painfully simplistic BitTorrent client

Synopsis

client.pl [options] [file ...]

 Options:
   -torrent           .torrent file to load
   -port              port number opened to incoming connections
   -store             base directory to store downloaded files
   -skip_hashcheck    skip integrity check at start
   -help              brief help message
   -man               full documentation

Options

-torrent

Open this .torrent file.

You may pass several -torrent parameters and load more than one .torrent session.

-port

Port number opened to the world for incoming connections. This defaults to 0 and lets Net::BitTorrent bind to a random, unused port.

-store

Relative or absolute directory to store downloaded files. All files will be downloaded using this as the base directory. Single file torrents will go directly into this directory, multifile torrents will create a directory within this and download there. By default, this is the current working directory.

-skip_hashcheck

If found, the files will not be checked for integrity and we assume that we have none of the data of this torrent.

-help

Print a brief help message and exit.

-man

Print the manual page and exit.

Description

This is a very basic demonstration of a full Net::BitTorrent-based client.