Java BitTorrent library [closed]

白昼怎懂夜的黑 提交于 2019-11-26 15:23:58

问题


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.


回答1:


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

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




回答2:


Turn's TTorrent is a pure Java bit torrent library.




回答3:


I have created a Bitlet Fork on Github.

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




回答4:


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.




回答5:


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




回答6:


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.

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




回答7:


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



来源:https://stackoverflow.com/questions/944530/java-bittorrent-library

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!