Skip to content

A libtorrent beginner seeking help. #7299

Answered by arvidn
leoncwu asked this question in Q&A
Discussion options

You must be logged in to vote

(1) you can take a look at this example: https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/torrent2magnet.cpp

(2) as long as you can join the DHT, you don't need a tracker, you can look up peers from the DHT. The tracker is associated with a torrent, not with the client downloading the torrent.

(3) Having a client seed the content or a web server are orthogonal. You can do one or the other or both. Typically, a client that has all content and stays in the swarm is referred to as a seed, even though it's not the initial copy (as the term seed would suggest).

(4) libtorrent does not come with a tracker implementation. If you need to run one, you could check out https://github.com/ar…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@leoncwu
Comment options

@arvidn
Comment options

@leoncwu
Comment options

@leoncwu
Comment options

@arvidn
Comment options

Answer selected by leoncwu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants