-
|
Apologies if this is a naive question but i'm just starting to use libtorrent and haven't been able to figure it out from the documentation. I'd like to know whether my torrent's bep-0019 webseed was used when getting the data, or whether libtorrent has used bittorrent peers. I've enabled all alerts (except for the very verbose The torrent is for a file called Is there information available saying which pieces (if any) have been obtained from a torrent's webseed? Thanks in advance for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
you could ask for all the peers (get_peer_info()). In each of the peer's peer_info object, you can look at the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for answering my question, i'll close this discussion now. |
Beta Was this translation helpful? Give feedback.
you could ask for all the peers (get_peer_info()). In each of the peer's peer_info object, you can look at the
connection_typefield to see if theweb_seedorhttp_seedbits are set.