* 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
+2 -2
View File
@@ -189,12 +189,12 @@ apply_throttle_interval(ui::Control* m, int arg) {
void
apply_bind(ui::Control* m, const std::string& arg) {
torrent::set_bind(arg);
torrent::set_bind_address(arg);
}
void
apply_ip(ui::Control* m, const std::string& arg) {
torrent::set_ip(arg);
torrent::set_address(arg);
}
// The arg string *must* have been checked with validate_port_range