Enhanced CTorrent
[ [1]Overview | [2]News | [3]Changes | [4]CTCS | [5]Download |
[6]Resources | [7]Contact ]
_________________________________________________________________
Overview
[8]CTorrent is a [9]BitTorrent client implemented in C++ to be
lightweight and quick. The original has fallen a little behind in
updates and bug fixes though.
The files here contain the good work of those who wrote the original
CTorrent base code and a number of patches that provide fixes and
enhancements, as well as additional fixes and enhancements that I am
contributing. I am not the original author, current maintainer, or any
other official representative of CTorrent. The files on this page are
not the original or official CTorrent distribution. I encourage you to
visit the [10]CTorrent project page on SourceForge for further
information.
Features
The purpose of the Enhanced CTorrent effort is to fix problems that
remain in the code, modernize existing features and algorithms, and
implement new features while maintaining low overhead requirements and
a high standard of performance (both part of the original CTorrent
design philosophy). Highlights of the enhanced client include:
* Support for large files (>2GB) and large torrents (>255 files)
* Strategic selection of pieces to request for download
* Continuous queueing of download requests, tuned based on latency
and throughput for each peer
* Improved download performance, including parallel requests in
initial and endgame modes
* Improved bandwidth regulation
* Improved compatibility with other peers
* Performance optimization and bug fixes
* An interface for monitoring and managing multiple clients
* Dynamic cache allocation and management, including prefetch
* Flexible console I/O redirection
* Interactive control commands and menus
Documentation
For documentation that provides a little more than the help screen,
please see the [11]User's Guide.
For a list of changes in the current and previous versions, see the
[12]ChangeLog file.
Peer ID
Beginning with dnh1.1 the default peer ID has been changed for
convenience, as some other clients and trackers assume that Ctorrent
is "buggy" and won't cooperate with it. [Guess what, there are plenty
of others with bugs too.] The -P option is still available if you wish
to use a different peer ID, but it is no longer necessary to do so in
order to avoid this "ban".
The new default peer ID prefix is "-CDversion-", where version is an
indication of the version number (0101 for dnh1.1).
CTCS
[13]CTorrent Control Server (CTCS) is an interface for monitoring and
managing Enhanced CTorrent clients. It can manage allocation of
bandwidth, provide status information, and allow changes to the
running configuration of each client. Support for this interface was
added in the dnh2 release.
_________________________________________________________________
News
2007-04-11
Version dnh3 is [14]released. There are several significant new
features; release notes can be found in the [15]change log. If
you're using [16]CTCS, you should also upgrade it to version
1.3 so that bandwidth management will work correctly.
2007-02-25
A [17]patch is available to fix a bug that can cause a crash
when reassigning a piece for download.
2006-11-05
Version dnh2.2 is [18]released, mostly for bug fixes. Thanks to
those who have reported them and helped with debugging!
A simple [19]user's guide is also available.
2006-09-03
Version dnh2.1 is [20]released, along with [21]CTCS 1.1. Both
updates fix issues when using CTCS on Linux, among other
things.
2006-04-26
The [22]CTCS protocol is finally documented.
2006-04-25
A [23]patch is available to fix a bug in my solution for the
vfat filesystem issue. This bug can cause the client to crash
when creating a file on any filesystem type; the patch is
recommended for all users.
2006-01-15
Version dnh2 is released! This version includes a number of
significant [24]changes, including large file support, piece
selection, tuned request queue depth, and support for
[25]CTorrent Control Server.
_________________________________________________________________
Download Newer files appear first in the list. Note that patches are
generally intended for the version below (older than) the patch.
___________________________________
Release dnh3
[26]Source distribution
A complete source distribution for all platforms.
___________________________________
Patch for reassign bug
[27]reassign patch
This fixes a potential crash when reassigning a piece for download to
a faster peer. It likely only shows itself on memory-constrained
systems or particular OSs. With verbose output on, you would see
something like this:
Reassigning 0x81183b8 to 0x8160ef8 (#585)
Segmentation fault
To apply the patch, download the file into the ctorrent source
directory and run the command:
patch < patch-reassign.diff
in that directory. Then recompile the program.
___________________________________
Release dnh2.2
[28]dnh2.1 to dnh2.2 patch file
A patch file of changes to release dnh2.1 to bring it up to dnh2.2.
[29]Source distribution
A complete source distribution for all platforms.
___________________________________
Release dnh2.1
[30]dnh2 to dnh2.1 patch file
A patch file of changes to release dnh2 to bring it up to dnh2.1.
[31]Source distribution
A complete source distribution for all platforms.
___________________________________
Patch for vfat bug
[32]btfiles patch
This fixes a coding bug in my solution for the vfat filesystem issue.
This bug can cause the client to crash when creating a file on any
filesystem type; the patch is recommended for all users of release
dnh2.
To apply the patch, download the file into the ctorrent source
directory and run the command:
patch < patch-btfiles.cpp.diff
in that directory. Then recompile the program.
___________________________________
Release dnh2
The patch files for this version are significantly larger than in
previous releases. It will be faster and easier to just download the
patched source distribution below.
[33]dnh1.2 to dnh2 patch file
A patch file of changes to release dnh1.2 to bring it up to dnh2.
[34]Patch file
A patch file of changes to the CTorrent 1.3.4 base.
[35]Patched source
A complete source distribution for all platforms.
___________________________________
Older Versions
Please see the [36]Old Versions page for previous releases and
patches.
_________________________________________________________________
Resources
[37]CTorrent Home Page
Outdated, but you may find some useful info (particularly the FAQ).
[38]CTorrent SourceForge Project
Hosts the original CTorrent codebase, bug reports, patches, and forum.
[39]Custom CTorrent
A page by the author of the "get1file" patch and other fixes. It
contains a custom version and a GUI for CTorrent.
[40]BitTorrent
The official BitTorrent home page.
[41]BitTorrent wiki
Various documentation.
[42]BitTorrent protocol specification (official version)
[43]BitTorrent protocol specification (wiki version)
References
1. http://www.rahul.net/dholmes/ctorrent/index.html#info
2. http://www.rahul.net/dholmes/ctorrent/index.html#news
没有合适的资源?快使用搜索试试~ 我知道了~
bt_C语言源代码
共97个文件
h:26个
po:22个
cpp:21个
4星 · 超过85%的资源 需积分: 29 17 下载量 17 浏览量
2008-07-21
15:49:48
上传
评论
收藏 236KB RAR 举报
温馨提示
ctorrent源代码
资源详情
资源评论
资源推荐
收起资源包目录
CTorrent_No_NAT_07_10_9.rar (97个子文件)
CTorrent_No_NAT_07_10_9
bufio.h 1KB
missing 9KB
ctcs.cpp 16KB
msgencode.h 777B
COPYING 18KB
connect_nonb.h 349B
rate.h 2KB
peerlist.cpp.bak 39KB
setnonblock.cpp 384B
bufio.cpp 3KB
iplist.cpp 892B
console.h 3KB
Doxyfile 10KB
btrequest.cpp 11KB
peerlist.h 3KB
sigint.cpp 1KB
aclocal.m4 38KB
connect_nonb.cpp 300B
stamp-h1 23B
config.log 46KB
sha1.c 5KB
INSTALL 1KB
config.h 8KB
config.h.in 8KB
downloader.h 70B
ctorrent.cpp 11KB
mkinstalldirs 724B
btstream.h 1KB
httpencode.cpp 3KB
peer.cpp 41KB
rate.cpp 7KB
configure 256KB
sigint.h 211B
ChangeLog 34KB
ctorrent.h 0B
bitfield.h 1KB
install-sh 5KB
downloader.cpp 3KB
btfiles.h 2KB
console.cpp 30KB
UserGuide 18KB
Makefile.in 21KB
bttime.h 82B
config.status 32KB
depcomp 12KB
stamp-h.in 10B
iplist.h 760B
tracker.h 3KB
README-DNH.TXT 10KB
peerlist.cpp 39KB
AUTHORS 21B
ctcs.h 2KB
btcontent.cpp 29KB
btrequest.h 2KB
configure.ac 3KB
httpencode.h 862B
bencode.h 1KB
sha1.h 980B
btstream.cpp 4KB
README 143B
bencode.cpp 6KB
btconfig.h 1KB
NEWS 595B
peer.h 6KB
btconfig.cpp 1007B
version.m4 204B
setnonblock.h 355B
def.h 878B
VERSION 19B
bitfield.cpp 6KB
Makefile 19KB
btcontent.h 3KB
tracker.cpp 16KB
btfiles.cpp 15KB
Makefile.am 557B
.deps
ctorrent.Po 6KB
httpencode.Po 2KB
btconfig.Po 1KB
bitfield.Po 3KB
tracker.Po 6KB
setnonblock.Po 4KB
connect_nonb.Po 4KB
btcontent.Po 6KB
peer.Po 5KB
downloader.Po 5KB
console.Po 6KB
sha1.Po 1KB
ctcs.Po 6KB
sigint.Po 6KB
peerlist.Po 6KB
bufio.Po 4KB
btstream.Po 3KB
bencode.Po 3KB
btrequest.Po 3KB
rate.Po 3KB
iplist.Po 4KB
btfiles.Po 5KB
共 97 条
- 1
chenli_1111
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1