Qt Reference Documentation

# Torrent Example

Files:

- network/torrent/addtorrentdialog.cpp
- network/torrent/addtorrentdialog.h
- network/torrent/bencodeparser.cpp
- network/torrent/bencodeparser.h
- network/torrent/connectionmanager.cpp
- network/torrent/connectionmanager.h
- network/torrent/filemanager.cpp
- network/torrent/filemanager.h
- network/torrent/mainwindow.cpp
- network/torrent/mainwindow.h
- network/torrent/metainfo.cpp
- network/torrent/metainfo.h
- network/torrent/peerwireclient.cpp
- network/torrent/peerwireclient.h
- network/torrent/ratecontroller.cpp
- network/torrent/ratecontroller.h
- network/torrent/torrentclient.cpp
- network/torrent/torrentclient.h
- network/torrent/torrentserver.cpp
- network/torrent/torrentserver.h
- network/torrent/trackerclient.cpp
- network/torrent/trackerclient.h
- network/torrent/forms/addtorrentform.ui
- network/torrent/main.cpp
- network/torrent/icons.qrc
- network/torrent/torrent.pro

The Torrent example is a functional BitTorrent client that illustrates how to write a complex TCP/IP application using Qt.

## License Information

The implementation of the US Secure Hash Algorithm 1 (SHA1) in this example is derived from the original description in RFC 3174.

Copyright (C) The Internet Society (2001). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.