質問

I want to extract information about torrent file like: files names inside it, their sizes ..., is there a C++ library for Linux that help me achieve this easily? or what is the structure of a torrent file and how do I find these information?

役に立ちましたか?

解決

You can use the libtorrent library—a feature complete C++ BitTorrent implementation focusing on efficiency and scalability.

If you want to write your own library, there is the official BitTorrent Protocol Specification but it is very poorly written and lacks a lot of details. There is also a much better specification available.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top