forked from premiere/premiere-libtorrent
remove unused declarations and added a small piece of documentation
This commit is contained in:
parent
730f81ebe9
commit
c14042b29e
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue