Java BitTorrent 库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/944530/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 21:23:26  来源:igfitidea点击:

Java BitTorrent library

javabittorrent

提问by samulisoderlund

Are there any decent BitTorrent libraries for Java? I need to program a simple torrent client, but it would be great if I didn't have to write everything from scratch.

是否有任何适用于 Java 的不错的 BitTorrent 库?我需要编写一个简单的 torrent 客户端,但如果我不必从头开始编写所有内容,那就太好了。

采纳答案by jjnguy

Snarkby Three Rings is a very lightweight bitorrent library that will give you basic torrent features.

三环的Snark是一个非常轻量级的 bitorrent 库,它将为您提供基本的 torrent 功能。

Was originallywritten by Mark Wielaard. A github source can be found here https://github.com/akerigan/born-again-snark

最初由Mark Wielaard写的。可以在此处找到 github 源https://github.com/akerigan/born-again-snark

回答by Thorbj?rn Ravn Andersen

Azureus is written in Java - is most likely not "simple" but quite likely "decent" :)

Azureus 是用 Java 编写的 - 很可能不是“简单”,但很可能是“体面”:)

回答by Anonymous

Azureus(now named Vuze) gives you a plugin API. Using this API you can plug your code into Azureus. Start it inside your program, and listen/respond to its events.

Azureus(现在命名为Vuze)为您提供了一个插件 API。使用此 API,您可以将代码插入 Azureus。在你的程序中启动它,并监听/响应它的事件。

回答by Mateu

Transdroid and Transdroid-desktop are libraries for adroid, that can also be used in java to control existing torrent clients.

Transdroid 和 Transdroid-desktop 是 adroid 的库,它们也可以在 java 中用于控制现有的 torrent 客户端。

回答by Anirudh

Adding to answer from jjnguy : The code seems to be at http://code.google.com/p/snark/and not in the repo pointed to in the link you've provided.

添加 jjnguy 的回答:代码似乎在http://code.google.com/p/snark/ 上,而不是在您提供的链接中指向的存储库中。

I've not used it, but a Google search showed up YAIRCC. Describes itself as "A lightweight Java Bittorrent library and client".

我没有使用过它,但谷歌搜索显示了YAIRCC。将自己描述为“一个轻量级的 Java Bittorrent 库和客户端”。

回答by leonm

Turn's TTorrentis a pure Java bit torrent library.

Turn 的TTorrent是一个纯 Java 位 Torrent 库。

回答by Toilal

I have created a Bitlet Forkon Github.

我在 Github 上创建了一个Bitlet Fork

It's LGPLed, and it's running faster than ttorent.

它是 LGPL 的,运行速度比 ttorent 快。