Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top