A clone of btpd with my configuration changes.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Richard Nyberg 0aec4ea071 *) Add one item. 19 年前
btpd Add check so that we don't connect to more peers than we should. 19 年前
cli Write "1 torrent." instead of "1 torrents.". 19 年前
misc Import btpd-0.1. 19 年前
COPYRIGHT Changed email address. 19 年前
Makefile.am Import btpd-0.1. 19 年前
README Import btpd-0.1. 19 年前
TODO *) Add one item. 19 年前
configure.ac test(1) uses '=' as the equality operator, not '=='. 19 年前
hack.mk Import btpd-0.1. 19 年前

README

+ PROGRAMS

btpd consists of the following programs:
* btpd - The BitTorrent client.
* btcli - Command line interface to btpd.
* btinfo - Shows information from a torrent file.

All programs takes the "--help" option.

+ DIRECTORY STRUCTURE

foo.torrent
The torrent metainfo file.

foo.torrent.d
Content will be downloaded to, and uploaded from, this dir.
It and its subdirectories and files will be created by
btpd as it downloads them.

foo.torrent.i
Created by 'btcli add'. Contains info on downloaded pieces.

+ SAMPLE USAGE

NOTE: Don't start one instance of btpd per torrent. You should only
need one instance regardless of how many torrents you want to share.

Start btpd:
# btpd

Start downloading or seeding bar.torrent:
# btcli add /path/to/bar.torrent

List active torrents (only bar.torrent atm):
# btcli list

Show some stats:
# btcli stat

Stop downloading/seeding bar.torrent:
# btcli del /path/to/bar.torrent

Shut down btpd (Why would you do such a thing?):
# btcli die

+ BUILDING

Make sure you have recent versions of the following software:
* curl - Get at <URL:http://curl.haxx.se/>
* openssl - Get at <URL:http://www.openssl.org/>
* libevent - Get at <URL:http://www.monkey.org/~provos/libevent/>

You also need a c99 compiler. A non antique GCC should do.

# ./configure
# make
# make install

See ./configure --help for options if it fails.