added tracker exchange (tex) extension

This commit is contained in:
Arvid Norberg
2008-11-27 20:51:59 +00:00
parent 1b686a1364
commit acbdbfc1ef
16 changed files with 554 additions and 10 deletions

View File

@@ -1480,9 +1480,13 @@ ones with lower tier will always be tried before the one with higher tier number
{
announce_entry(std::string const& url);
std::string url;
int tier;
boost::uint8_t tier;
boost::uint8_t fail_limit;
};
``fail_limit`` is the max number of failures to announce to this tracker in
a row, before this tracker is not used anymore.
total_size() piece_length() piece_size() num_pieces()
-----------------------------------------------------