*** empty log message ***

This commit is contained in:
Arvid Norberg 2005-02-22 06:27:08 +00:00
parent 782a3cfdc6
commit 69e268c959
4 changed files with 2430 additions and 86 deletions

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.3.1: http://docutils.sourceforge.net/" />
<title>libtorrent</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div class="document" id="libtorrent">
<h1 class="title">libtorrent</h1>
<table border class="menu table">
<colgroup>
<col width="26%" />
<col width="19%" />
<col width="19%" />
<col width="15%" />
<col width="21%" />
</colgroup>
<tbody valign="top">
<tr><td><a class="reference" href="http://www.sourceforge.net/projects/libtorrent">sourceforge page</a></td>
<td><a class="reference" href="manual.html">documentation</a></td>
<td><a class="reference" href="http://sourceforge.net/tracker/?group_id=79942&amp;atid=558250">report bugs</a></td>
<td><a class="reference" href="libtorrent_screen.png">screenshot</a></td>
<td><a class="reference" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a></td>
</tr>
</tbody>
</table>
<p>libtorrent is a C++ library that aims to be a good alternative to all the
other bittorrent implementations around. It is a
library and not a full featured client, although it comes with a working
example client.</p>
<p>The main goals of libtorrent are:</p>
<blockquote>
<ul class="simple">
<li>to be cpu efficient</li>
<li>to be memory efficient</li>
<li>to be very easy to use</li>
</ul>
</blockquote>
<div class="section" id="donate">
<h1><a name="donate">Donate</a></h1>
<p>Support the development of libtorrent</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="c99ang@cs.umu.se">
<input type="hidden" name="item_name" value="libtorrent">
<input type="hidden" name="return" value="http://libtorrent.sf.net">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/images/x-click-but04.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form></div>
<div class="section" id="feedback">
<h1><a name="feedback">Feedback</a></h1>
<p>There's a <a class="reference" href="http://lists.sourceforge.net/lists/listinfo/libtorrent-discuss">mailing list</a>, general libtorrent discussion.</p>
<p>You can usually find me as hydri in <tt class="literal"><span class="pre">#btports</span> <span class="pre">&#64;</span> <span class="pre">irc.freenode.net</span></tt>.</p>
</div>
<div class="section" id="acknowledgements">
<h1><a name="acknowledgements">Acknowledgements</a></h1>
<p>Written by Arvid Norberg. Copyright (c) 2003</p>
<p>Contributions by Magnus Jonsson and Daniel Wallin</p>
<p>Thanks to Reimond Retz for bugfixes, suggestions and testing</p>
<p>Project is hosted by sourceforge.</p>
<p><a class="reference" href="http://sourceforge.net"><img alt="sf_logo" src="http://sourceforge.net/sflogo.php?group_id=7994" /></a></p>
</div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -123,7 +123,9 @@ abstraction. There's one ``file_win.cpp`` which relies on windows file API that
files larger than 2 Gigabytes. This does not work in vc6 for some reason, possibly because
it may require windows NT and above. The other file, ``file.cpp`` is the default
implementation that simply relies on the standard low level io routines (read, write etc.),
but for some reason this implementation doesn't seem to work on windows.
this is the preferred implementation that should be used in all cases. The ``file_win.cpp``
have had some problems with failing seeks (I don't know why), so I advise everyone to use
the other file.
cygwin and msvc
@ -820,6 +822,7 @@ perform any operation on it, unless you first assign it a valid handle. If you t
any operation on an uninitialized handle, it will throw ``invalid_handle``.
**TODO: document trackers() and replace_trackers()**
**TODO: document how to create a .torrent**
save_path()
-----------

View File

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.3.1: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.3.8: http://docutils.sourceforge.net/" />
<title>Bittorrent udp-tracker protocol extension</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
@ -11,7 +11,7 @@
<div class="document" id="bittorrent-udp-tracker-protocol-extension">
<h1 class="title">Bittorrent udp-tracker protocol extension</h1>
<div class="contents topic" id="contents">
<p class="topic-title"><a name="contents">Contents</a></p>
<p class="topic-title first"><a name="contents">Contents</a></p>
<ul class="simple">
<li><a class="reference" href="#introduction" id="id6" name="id6">introduction</a></li>
<li><a class="reference" href="#connecting" id="id7" name="id7">connecting</a><ul>
@ -60,7 +60,7 @@ retrying.</p>
<h1><a name="connecting">connecting</a></h1>
<div class="section" id="client-sends-packet">
<h2><a name="client-sends-packet">Client sends packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -92,7 +92,7 @@ identify the protocol.</td>
</div>
<div class="section" id="server-replies-with-packet">
<h2><a name="server-replies-with-packet">Server replies with packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -134,7 +134,7 @@ anymore.</td>
<h1><a name="announcing">announcing</a></h1>
<div class="section" id="id2">
<h2><a name="id2">Client sends packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -201,7 +201,7 @@ in this session.</td>
<tr><td>uint32_t</td>
<td>ip</td>
<td>Your ip address. Set to 0 if you want
the tracker to use the <tt class="literal"><span class="pre">sender</span></tt> of
the tracker to use the <tt class="docutils literal"><span class="pre">sender</span></tt> of
this udp packet.</td>
</tr>
<tr><td>uint32_t</td>
@ -227,7 +227,7 @@ in the reply. Use -1 for default.</td>
</div>
<div class="section" id="id3">
<h2><a name="id3">Server replies with packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -271,7 +271,7 @@ seeding.</td>
</tbody>
</table>
<p>The rest of the server reply is a variable number of the following structure:</p>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -300,7 +300,7 @@ seeding.</td>
<h1><a name="scraping">scraping</a></h1>
<div class="section" id="id4">
<h2><a name="id4">Client sends packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -338,8 +338,8 @@ follow.</td>
</tr>
</tbody>
</table>
<p>The following structure is repeated <tt class="literal"><span class="pre">num_info_hashes</span></tt> times:</p>
<table border class="table">
<p>The following structure is repeated <tt class="docutils literal"><span class="pre">num_info_hashes</span></tt> times:</p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -361,7 +361,7 @@ follow.</td>
</div>
<div class="section" id="id5">
<h2><a name="id5">Server replies with packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -388,7 +388,7 @@ If 3 (for error) see <a class="reference" href="#errors">errors</a>.</td>
</table>
<p>The rest of the packet contains the following structures once for each info-hash
you asked in the scrape request.</p>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -424,7 +424,7 @@ leechers.</td>
<p>In case of a tracker error,</p>
<div class="section" id="server-replies-packet">
<h2><a name="server-replies-packet">server replies packet:</a></h2>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />
@ -481,7 +481,7 @@ bits are assigned:</p>
<h2><a name="authentication">authentication</a></h2>
<p>The packet will have an authentication part
appended to it. It has the following format:</p>
<table border class="table">
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="28%" />