A clone of btpd with my configuration changes.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them před 18 roky
btpd peer_on_no_reqs was called unsafely in peer_on_choke. It should only be před 18 roky
cli The mega whitespace patch. před 19 roky
misc Unify the write and read structs. There was no good reason to keep them před 18 roky
CHANGES Set version to 0.7. Update CHANGES. před 19 roky
COPYRIGHT OMG! It's a new year already! ;) před 19 roky
Makefile.am Add CHANGES. A file describing changes between versions of btpd. před 19 roky
README Speling. před 19 roky
TODO x před 19 roky
configure.ac Just bump version number. před 19 roky
hack.mk Import btpd-0.1. před 19 roky

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 take 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.