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

[Dev Q]peer geolocation

Tags: None
(comma "," separated)
camlpet
Registered Member
Posts
1
Karma
0

[Dev Q]peer geolocation

Sun Jun 01, 2008 11:14 am
Hi Dev Team,
Looking at the thread below,
http://ktorrent.org/forum/viewtopic.php?t=359&highlight=locator
I understand that the peer geo-location functionality is covered by the code GeoIP.c/GeoIP.h. I would like to alter KTorrent code to allow users to exclude peer connections on a per country criteria [unless this functionality is somewhat on the medium/long term Ktorrent's roadmap].

I've uploaded Ktorrent's latest source tar ball, and opened the corresponding Kdevelop project. I'm having hard-time identifying the location of the function calls, along with the call flow (originator/terminator) which ultimately leads to the peer 's country and flag assignment.

Is it possible to have some pointers ?
regards,
Kml
George
Moderator
Posts
5421
Karma
1

Mon Jun 02, 2008 10:54 am
It is in plugins/infowidget/peerviewmodel.cpp around line 85


Bookmarks



Who is online

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