Discussion:
[libtorrent] tracker_error_alert
Michael Mckeown
2016-08-28 15:38:33 UTC
Permalink
In tracker_error_alert how is it you get the url or index of the url in
the vector?

Looking to translate the error message.

Thanks.
------------------------------------------------------------------------------
Arvid Norberg
2016-08-30 23:27:30 UTC
Permalink
it derives from tracker_alert, which has a function tracker_url() (or a
std::string url member in older versions).

You can search for this url in the tracker vector to get the index.

On Sun, Aug 28, 2016 at 11:38 AM, Michael Mckeown <
Post by Michael Mckeown
In tracker_error_alert how is it you get the url or index of the url in
the vector?
Looking to translate the error message.
Thanks.
------------------------------------------------------------
------------------
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
------------------------------------------------------------------------------
Michael Mckeown
2016-09-02 17:28:38 UTC
Permalink
Thanks!
Post by Arvid Norberg
it derives from tracker_alert, which has a function tracker_url() (or a
std::string url member in older versions).
You can search for this url in the tracker vector to get the index.
On Sun, Aug 28, 2016 at 11:38 AM, Michael Mckeown <
Post by Michael Mckeown
In tracker_error_alert how is it you get the url or index of the url in
the vector?
Looking to translate the error message.
Thanks.
------------------------------------------------------------
------------------
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
------------------------------------------------------------------------------
Loading...