Discussion:
[libtorrent] resolve_countries() replacement in 1.1
Georg Rudoy
2017-01-17 02:13:12 UTC
Permalink
Hi,

torrent_handle::resolve_countries() seems to be deprecated in libtorrent
1.1, though I could not find any replacement for it. Could you please point
me to it, if there is one?

Thanks.
--
Georg Rudoy
Michael Mckeown
2017-01-26 13:39:37 UTC
Permalink
https://github.com/maxmind/libmaxminddb

https://dev.maxmind.com/geoip/geoip2/geolite2/

On 17/01/2017 02:13, Georg Rudoy wrote:

Hi,

torrent_handle::resolve_countries() seems to be deprecated in libtorrent
1.1, though I could not find any replacement for it. Could you please point
me to it, if there is one?

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
Libtorrent-***@lists.sourceforge.net<mailto:Libtorrent-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
Arvid Norberg
2017-01-26 21:47:26 UTC
Permalink
Post by Georg Rudoy
Hi,
torrent_handle::resolve_countries() seems to be deprecated in libtorrent
1.1, though I could not find any replacement for it. Could you please point
me to it, if there is one?
resolving IP addresses to locations is no longer considered within the
scope of libtorrent and better done by external libraries.
--
Arvid Norberg
Loading...