Changed the way libtorrent find out if a peer supports its extensions to make it compatible with Mainline beta.

This commit is contained in:
Arvid Norberg
2005-09-18 10:18:23 +00:00
parent 5a1e064783
commit 82c0ca5675
8 changed files with 146 additions and 20 deletions

View File

@@ -374,9 +374,11 @@ The basic usage is as follows:
* conststruct a session
* parse .torrent-files and add them to the session (see `bdecode() bencode()`_)
* main loop (see session_)
* query the torrent_handles for progress (see torrent_handle_)
* query the session for information
* add and remove torrents from the session at run-time
* save resume data for all torrent_handles (optional, see
`write_resume_data()`_)
* destruct session object