This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Where is "adding peers" code placed? Version 2.1.4

Tags: None
(comma "," separated)
Joe_Bishop
Registered Member
Posts
3
Karma
0
I need this thing in order to debug another thing :)
George
Moderator
Posts
5421
Karma
1

Mon Jul 02, 2007 4:41 pm
What do you mean by adding peers ? The dialog to manually add peers ?
Joe_Bishop
Registered Member
Posts
3
Karma
0

adding peer

Mon Jul 02, 2007 7:13 pm
George wrote:What do you mean by adding peers ? The dialog to manually add peers ?

No, of course. Working torrent client receives data from tracker, through DHT, etc about another peers, and then the torrent client try to connect to them. I suppose KTorrent keeps information about another peers in an array or another data structure before connecting. I wonder if one tells me where is this data structure.
George
Moderator
Posts
5421
Karma
1

Tue Jul 03, 2007 4:43 pm
libktorrent/torrent/peermanager.h

The multimap named potential_peers
Joe_Bishop
Registered Member
Posts
3
Karma
0

Thanks, George!

Tue Jul 03, 2007 5:49 pm
Thanks a lot!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]