Hi
I'm very interested in understanding how the peer management works,
that is how the client choses who to upload to,
how it chooses what idle connections to drop,
and how it decides to what clients reopen a connection?
What I also would like to know is how the client decides how many upload slots to open, if there is no preset upload limit form the user?
I know that its all in the source but that just to much code to dig through it for me, also for me is the boost style code of libTorrent very confusing.
I would be very thankful for any detailed responses.
Peer Management
Peer Management
Last edited by TraxXavier on Sat May 24, 2014 11:05 am, edited 1 time in total.
Re: Peer Management
http://sourceforge.net/p/libtorrent/mai ... t-discuss/ would be the place to get libtorrent specific questions answered, if they are not already.
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: Peer Management
You can read the online libtorrent-docs. qbt in most cases uses the default values.
http://libtorrent.org/manual.html
http://libtorrent.org/manual.html
Re: Peer Management
Well as i said i was rather hoping for some explicit explanations...
as it stands i can just as good try to read the source directly...
as it stands i can just as good try to read the source directly...
Re: Peer Management
You can get alot of information from the links that are given already. Not very explicit but things are getting explained if you search through it. Also as ciao mentioned qBittorrent is using libtorrent as base so maybe you can try to ask there about it.
Just wondering.. Why you need to know all this?
Just wondering.. Why you need to know all this?
Re: Peer Management
Is there a forum for libtorrent? or do i need to use the linked mailing list?
the linked docs explain how the interface works to the lib, but as far as I see it does not explain how the lib works under the hood.
I found the qt sample: http://qt-project.org/doc/qt-4.8/network-torrent.html
and noticed that is works much worst than utorrent or qbittorent, and I wanted to know if that could be simply fixed, and foremost learn a few things in the process.
Trax
the linked docs explain how the interface works to the lib, but as far as I see it does not explain how the lib works under the hood.
I found the qt sample: http://qt-project.org/doc/qt-4.8/network-torrent.html
and noticed that is works much worst than utorrent or qbittorent, and I wanted to know if that could be simply fixed, and foremost learn a few things in the process.
Trax