Discussion:
[libtorrent] How to seed the torrent ( and help with save_resume_data() )
LacenWolk .
2017-02-16 13:46:23 UTC
Permalink
Hello, i'm trying to implement libtorrent. I've managed to get it working
as with downloading content. However, if i make my own .torrent, how can i
actually seed it. If i just open that torrent and even if i force recheck,
it'll always be stuck on downloading, it won't ever recheck the data.
I've tried to use save_resume_data(). however in
http://www.libtorrent.org/reference-Core.html#save_resume_data() it's not
clear as to how it actually works. How do you actually process_alert(a)?

The example client added is too bloated to make use of it.
Thanks :)
Arvid Norberg
2017-02-17 01:00:47 UTC
Permalink
make sure you set the save_path field in add_torrent_params correctly, to
point to the files to seed. If you set it incorrectly libtorrent will try
to download it to that directory.
Post by LacenWolk .
Hello, i'm trying to implement libtorrent. I've managed to get it working
as with downloading content. However, if i make my own .torrent, how can i
actually seed it. If i just open that torrent and even if i force recheck,
it'll always be stuck on downloading, it won't ever recheck the data.
I've tried to use save_resume_data(). however in
http://www.libtorrent.org/reference-Core.html#save_resume_data() it's not
clear as to how it actually works. How do you actually process_alert(a)?
The example client added is too bloated to make use of it.
Thanks :)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
Continue reading on narkive:
Loading...