mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 06:32:31 +00:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user