diff --git a/docs/manual.html b/docs/manual.html index 2fbe3c9a9..f2f0ff795 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -135,7 +135,7 @@ boost.filesystem, boost.date_time and various other boost libraries as well as z
To build libtorrent you need boost and bjam installed. Then you can use bjam to build libtorrent.
To make bjam work, you need to set the environment variable BOOST_ROOT to the -path where boost is installed (e.g. c:boost_1_30_2 on windows). Then you can just run +path where boost is installed (e.g. c:\boost_1_30_2 on windows). Then you can just run bjam in the libtorrent directory.
The Jamfile doesn't work yet. On unix-systems you can use the makefile however. You first have to build boost.thread and boost.filesystem. You do this by, in the directory @@ -546,6 +546,8 @@ struct torrent_status float download_rate; float upload_rate; + int num_peers; + std::vector<bool> pieces; std::size_t total_done; }; @@ -595,6 +597,7 @@ the pieces we don't have.
download_rate and upload_rate are the total rates for all peers for this torrent. These will usually have better precision than summing the rates from all peers. The rates are given as the number of bytes per second.
+num_peers is the number of peers this torrent currently is connected to.
total_done is the total number of bytes of the file(s) that we have.
download_queue_length is the number of block-requests we have sent to this peer +
download_queue_length is the number of piece-requests we have sent to this peer that hasn't been answered with a piece yet.
+upload_queue_length is the number of piece-requests we have received from this peer +that we haven't answered with a piece yet.
You can know which piece, and which part of that piece, that is currently being
downloaded from a specific peer by looking at the next four members.
downloading_piece_index is the index of the piece that is currently being downloaded.
diff --git a/docs/manual.rst b/docs/manual.rst
index 4146e9341..9cf7c6b56 100755
--- a/docs/manual.rst
+++ b/docs/manual.rst
@@ -557,6 +557,8 @@ It contains the following fields::
float download_rate;
float upload_rate;
+ int num_peers;
+
std::vector