Back to Libtorrent

introduction

docs/index.rst

2.0.125.7 KB
Original Source

.. raw:: html

<div id="librarySidebar">

Getting started

  • download_
  • building_
  • tutorial_
  • overview_
  • examples_
  • features_

Documentation

  • reference_
  • blog_
  • upgrade to 2.0_
  • upgrade to 1.2_
  • contributing_
  • troubleshooting_
  • tuning_
  • fuzzing_
  • security audit (2020)_
  • projects using libtorrent_

Contact

  • mailing list_ (archive_)
  • report bugs_
  • github page_

Extensions

  • uTP_
  • extensions protocol_
  • libtorrent plugins_
  • streaming_
  • DHT extensions_
  • DHT security extension_
  • DHT store extension_
  • UDP tracker protocol_
  • HTTP seed_
  • multi-tracker_

Bindings

  • python_
  • Java_
  • golang_
  • node_

  • Introduction, slides_

.. raw:: html

</div> <div id="libraryBody">

.. _download: https://github.com/arvidn/libtorrent/releases .. _features: features-ref.html .. _tutorial: tutorial-ref.html .. _contributing: contributing.html .. _building: building.html .. _examples: examples.html .. _overview: manual-ref.html .. _reference: reference.html .. _upgrade to 2.0: upgrade_to_2.0-ref.html .. _upgrade to 1.2: upgrade_to_1.2-ref.html .. _troubleshooting: troubleshooting.html .. _tuning: tuning-ref.html .. _fuzzing: fuzzing.html .. _security audit (2020): security-audit.html .. _uTP: utp.html .. _extensions protocol: extension_protocol.html .. _libtorrent plugins: reference-Plugins.html .. _streaming: streaming.html .. _DHT extensions: dht_extensions.html .. _DHT security extension: dht_sec.html .. _DHT store extension: dht_store.html .. _UDP tracker protocol: udp_tracker_protocol.html .. _HTTP seed: http://www.getright.com/seedtorrent.html .. _multi-tracker: https://www.bittorrent.org/beps/bep_0012.html .. _mailing list: https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss .. _archive: https://sourceforge.net/p/libtorrent/mailman/libtorrent-discuss/ .. _projects using libtorrent: projects.html .. _report bugs: https://github.com/arvidn/libtorrent/issues .. _github page: https://github.com/arvidn/libtorrent .. _blog: https://blog.libtorrent.org

.. _Java: https://github.com/frostwire/frostwire-jlibtorrent/ .. _python: python_binding.html .. _golang: https://github.com/steeve/libtorrent-go .. _node: https://github.com/fanatid/node-libtorrent

.. _Introduction, slides: bittorrent.pdf

introduction

libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. It runs on embedded devices as well as desktops. It boasts a well documented library interface that is easy to use. It comes with a simple bittorrent client__ demonstrating the use of the library.

__ client_test.html

.. image:: img/screenshot_thumb.png :target: client_test.html :alt: screenshot of libtorrent's client_test :class: front-page-screenshot :width: 400 :height: 239

The main goals of libtorrent are:

  • to be CPU efficient
  • to be memory efficient
  • to be very easy to use

getting started

The tutorial_ is an introduction to using libtorrent (C++). Also see the reference documentation_.

.. _reference documentation: reference.html

.. raw:: html

<a href="bitcoin:373ZDeQgQSQNuxdinNAPnQ63CRNn4iEXzg">
</a>

contribute

If your organization uses libtorrent, please consider supporting its development. See the contributing_ page for other ways to help out.

.. raw:: html

<div style="text-align: right;">
<a href="bitcoin:373ZDeQgQSQNuxdinNAPnQ63CRNn4iEXzg">bitcoin:373ZDeQgQSQNuxdinNAPnQ63CRNn4iEXzg</a>
</div>

<span style="display:inline-block">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="ZNR45WU2PP5W2">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="libtorrent">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
<input type="image" src="img/pp-acceptance-medium.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
</span>
</span>

support

Please direct questions to the mailing list__, general libtorrent discussion.

__ https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss

You can usually find me as hydri in #libtorrent on irc.freenode.net.

license

libtorrent is released under the BSD-license_.

.. _BSD-license: https://opensource.org/licenses/bsd-license.php

This means that you can use the library in your project without having to release its source code. The only requirement is that you give credit to the author of the library by including the libtorrent license in your software or documentation.

It is however greatly appreciated if additional features are contributed back to the open source project. Patches can be emailed to the mailing list or posted to the bug tracker_.

.. _bug tracker: https://github.com/arvidn/libtorrent/issues

acknowledgements

Written by Arvid Norberg. Copyright |copy| 2003-2018

Contributions by Steven Siloti, Alden Torres, Magnus Jonsson, Daniel Wallin and Cory Nelson

Thanks to Reimond Retz for bug fixes, suggestions and testing

See github__ for full list of contributors.

__ https://github.com/arvidn/libtorrent/graphs/contributors

Thanks to Umeå University__ for providing development and test hardware.

__ http://www.cs.umu.se

Project is hosted by github__.

__ https://www.github.com/arvidn/libtorrent

.. |copy| unicode:: 0xA9 .. copyright sign

.. raw:: html

</div>