* Using SocketAddress instead of std::string/uint16_t for peer

addresses.

* Tracker key is now an uint32_t instead of std::string.

* Added client address to UDP tracker requests.

* Added a check for FD_SETSIZE and _SC_OPEN_MAX in the client. A
warning is issued if max open files and sockets exceed either of these.

* Cleaned up the API, propably quite close to what will be in the
slush'ed API.

* Swapped emit and close order in TrackerHttp.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@499 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-07-18 17:22:17 +00:00
parent 7a9010445b
commit 81c36a7d96
8 changed files with 31 additions and 16 deletions
+3 -2
View File
@@ -84,11 +84,12 @@ WindowTrackerList::redraw() {
range.first == *m_focus ? '*' : ' ',
t.get_url().c_str());
m_canvas->print(0, pos++, "%c Group: %2i Id: %s Enabled: %s",
m_canvas->print(0, pos++, "%c Group: %2i Id: %s Enabled: %s Open: %s",
range.first == *m_focus ? '*' : ' ',
t.get_group(),
utils::escape_string(t.get_tracker_id()).c_str(),
t.is_enabled() ? "yes" : "no");
t.is_enabled() ? "yes" : "no",
t.is_open() ? "yes" : "no");
++range.first;
}