Discussion:
[libtorrent] Question about peer_info
Ardhi Putra Pratama
2016-08-17 13:00:30 UTC
Permalink
Hello,



I have a question regarding peer_info in libtorrent. Basically, I called
get_peer_info() on a torrent_handle in an interval, so I can fetch list of
peers related to this swarm. How does this works internally? I stored the peer
I discovered and found out that the information is changing in a short amount
of time (less than 30 seconds). For example, num_pieces is sometimes
increasing or decreasing for a single peer. Is this expected behavior?



Another question, Is there any way to connect manually to a particular peer
and exchange 'handshake' with it? (That is, request bitfield and other
information of that peer).



Last one, is there possible to get peer list without have to download/upload
anything?



Btw, I'm using python binding.



Thank you.



Kind regards,

ardhi

------------------------------------------------------------------------------
Loading...