NAME

basic.pl - Very basic BitTorrent client

SYNOPSIS

basic [options] [file ...]

Options:
  -torrent   .torrent file to load
  -port      port number opened to incoming connections
  -store     base directory to store downloaded files
  -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 IO::Socket 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.

-help

Print a brief help message and exit.

-man

Print the manual page and exit.

DESCRIPTION

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