diff --git a/docs/building.html b/docs/building.html index dda9c40e4..5a7a1d3cf 100644 --- a/docs/building.html +++ b/docs/building.html @@ -28,11 +28,23 @@

libtorrent manual

+ +
+ + +
+ diff --git a/docs/client_test.html b/docs/client_test.html index 16747bf34..e510b2289 100644 --- a/docs/client_test.html +++ b/docs/client_test.html @@ -27,12 +27,24 @@

client_test example program

+
+ + +
+ +

Client test is a, more or less, complete bittorrent client. It lacks most settings and you can't start or stop torrents once you've started it. All the settings are hardcoded. The commandline arguments are:

diff --git a/docs/dht_extensions.html b/docs/dht_extensions.html index 65080900b..2c8810465 100644 --- a/docs/dht_extensions.html +++ b/docs/dht_extensions.html @@ -28,11 +28,23 @@
+ +
+ + +
+
diff --git a/docs/examples.html b/docs/examples.html index cdb21b3ff..cb678e963 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -28,11 +28,23 @@

libtorrent Examples

+ +
+ + +
+
diff --git a/docs/extension_protocol.html b/docs/extension_protocol.html index 50fd03883..73771e973 100644 --- a/docs/extension_protocol.html +++ b/docs/extension_protocol.html @@ -28,11 +28,23 @@
+ +
+ + +
+
diff --git a/docs/features.html b/docs/features.html index f47f1b7b4..9ffd9dd2e 100644 --- a/docs/features.html +++ b/docs/features.html @@ -28,11 +28,23 @@

libtorrent manual

+ +
+ + +
+
diff --git a/docs/index.html b/docs/index.html index 616b803fd..c3cc77c92 100644 --- a/docs/index.html +++ b/docs/index.html @@ -27,12 +27,24 @@
+
+ + +
+ +
  • download
  • features
  • diff --git a/docs/libtorrent_plugins.html b/docs/libtorrent_plugins.html index 37c53c7a3..c0fdce271 100644 --- a/docs/libtorrent_plugins.html +++ b/docs/libtorrent_plugins.html @@ -28,11 +28,23 @@
    + +
    + + +
    +
diff --git a/docs/manual.html b/docs/manual.html index 8e018100b..4f19d0346 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -28,11 +28,23 @@

libtorrent API Documentation

+ +
+ + +
+
@@ -57,7 +69,7 @@
  • remove_torrent()
  • find_torrent() get_torrents()
  • set_upload_rate_limit() set_download_rate_limit() upload_rate_limit() download_rate_limit()
  • -
  • set_max_uploads() set_max_connections()
  • +
  • set_max_uploads() set_max_connections() max_connections()
  • num_uploads() num_connections()
  • set_max_half_open_connections() max_half_open_connections()
  • load_asnum_db() load_country_db() int as_for_ip()
  • @@ -132,7 +144,7 @@
  • queue_position() queue_position_up() queue_position_down() queue_position_top() queue_position_bottom()
  • use_interface()
  • info_hash()
  • -
  • set_max_uploads() set_max_connections()
  • +
  • set_max_uploads() set_max_connections() max_connections()
  • save_resume_data()
  • status()
  • get_download_queue()
  • @@ -361,6 +373,7 @@ class session: public boost::noncopyable int download_rate_limit() const; void set_max_uploads(int limit); void set_max_connections(int limit); + int max_connections() const; void set_max_half_open_connections(int limit); int max_half_open_connections() const; @@ -631,12 +644,13 @@ of upload rate. download_rate_limit() and upload_rate_limit() returns the previously set limits.

    -
    -

    set_max_uploads() set_max_connections()

    +
    +

    set_max_uploads() set_max_connections() max_connections()

     void set_max_uploads(int limit);
     void set_max_connections(int limit);
    +int max_connections() const;
     

    These functions will set a global limit on the number of unchoked peers (uploads) @@ -644,6 +658,7 @@ and the number of connections opened. The number of connections is set to a hard minimum of at least two connections per torrent, so if you set a too low connections limit, and open too many torrents, the limit will not be met. The number of uploads is at least one per torrent.

    +

    max_connections() returns the current setting.

    num_uploads() num_connections()

    @@ -1723,6 +1738,7 @@ struct torrent_handle void set_ratio(float ratio) const; void set_max_uploads(int max_uploads) const; void set_max_connections(int max_connections) const; + int max_connections() const; void set_upload_limit(int limit) const; int upload_limit() const; void set_download_limit(int limit) const; @@ -2199,11 +2215,12 @@ sha1_hash info_hash() const;

    info_hash() returns the info-hash for the torrent.

    -

    set_max_uploads() set_max_connections()

    +

    set_max_uploads() set_max_connections() max_connections()

     void set_max_uploads(int max_uploads) const;
     void set_max_connections(int max_connections) const;
    +int max_connections() const;
     

    set_max_uploads() sets the maximum number of peers that's unchoked at the same time on this @@ -2212,6 +2229,7 @@ torrent. If you set this to -1, there will be no limit.

    connections are used up, incoming connections may be refused or poor connections may be closed. This must be at least 2. The default is unlimited number of connections. If -1 is given to the function, it means unlimited.

    +

    max_connections() returns the current setting.

    save_resume_data()

    diff --git a/docs/projects.html b/docs/projects.html index a370ad826..1f9fd851a 100644 --- a/docs/projects.html +++ b/docs/projects.html @@ -27,12 +27,24 @@

    projects using libtorrent

    +
    + + +
    + +

    These are some of the public projects that uses libtorrent. If you want your project listed here, let me know.

    diff --git a/docs/python_binding.html b/docs/python_binding.html index 1bd86774e..7d7f6ce08 100644 --- a/docs/python_binding.html +++ b/docs/python_binding.html @@ -28,11 +28,23 @@

    libtorrent python binding

    + +
    + + +
    +
    diff --git a/docs/template.txt b/docs/template.txt index f886bb32d..bb97043f3 100644 --- a/docs/template.txt +++ b/docs/template.txt @@ -20,11 +20,23 @@
    %(body_pre_docinfo)s + +
    + + +
    + %(docinfo)s %(body)s
    diff --git a/docs/udp_tracker_protocol.html b/docs/udp_tracker_protocol.html index 3e34e9590..2d4ffc6bb 100644 --- a/docs/udp_tracker_protocol.html +++ b/docs/udp_tracker_protocol.html @@ -28,11 +28,23 @@

    Bittorrent udp-tracker protocol extension

    + +
    + + +
    +