协议规范
http://blog.csdn.net/wangpingfang/article/category/546550
http://blog.csdn.net/lightest/article/category/46023
http://www.bittorrent.org/beps/bep_0000.html
comparison
http://en.wikipedia.org/wiki/Comparison_of_BitTorrent_clients
http://en.wikipedia.org/wiki/Comparison_of_BitTorrent_tracker_software
software
http://sourceforge.net/projects/bittorrent
http://50hz.ws/hrktorrent/ (use rasterbar libtorrent)
lib
http://libtorrent.rakshasa.no/
http://www.rasterbar.com/products/libtorrent/
http://code.google.com/p/bobbin/
http://code.google.com/p/torrent4j/
http://www.staging.threerings.net/snark.html
http://sourceforge.net/projects/yaircc/
http://hi.baidu.com/beisika/blog/category/P2p
http://blog.chinaunix.net/space.php?uid=736168&do=blog&id=375922
http://mktorrent.sourceforge.net/
http://goalbit.sourceforge.net/
编码规则如下:
strings(字符串)编码为:<字符串长度>:<字符串>
字符串长度单位为字节
integers(整数)编码为:i<整数>e
整数没有大小限制, i0e 表示为整数0, i-0e 为非法, 以0开头的为非法
lists(列表)编码为:l<bencoding编码类型>e
dictionaries(字典)编码为d<bencoding字符串><bencoding编码类型>e
参考
http://www.cnblogs.com/studyzy/archive/2005/12/29/694119.html