remove unused declarations and added a small piece of documentation

This commit is contained in:
Arvid Norberg 2010-03-25 04:47:56 +00:00
parent 730f81ebe9
commit c14042b29e
2 changed files with 2 additions and 3 deletions

View File

@ -959,6 +959,8 @@ called, the udp port will be rebound to the new port, if it was configured to us
the same port as the tcp socket, and if the listen_on call failed to bind to the
same port that the udp uses.
If you want the OS to pick a port for you, pass in 0 as both first and second.
The reason why it's a good idea to run the DHT and the bittorrent socket on the same
port is because that is an assumption that may be used to increase performance. One
way to accelerate the connecting of peers on windows may be to first ping all peers

View File

@ -354,9 +354,6 @@ namespace libtorrent
#endif // TORRENT_USE_WSTRING
#endif // TORRENT_DISABLE_GEO_IP
void load_state(entry const& ses_state);
entry state() const;
void start_lsd();
void start_natpmp(natpmp* n);
void start_upnp(upnp* u);