Peer Management

Other platforms, generic questions.
Post Reply
TraxXavier

Peer Management

Post by TraxXavier »

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.
Last edited by TraxXavier on Sat May 24, 2014 11:05 am, edited 1 time in total.
ciaobaby

Re: Peer Management

Post by ciaobaby »

http://sourceforge.net/p/libtorrent/mai ... t-discuss/ would be the place to get libtorrent specific questions answered, if they are not already.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Peer Management

Post by sledgehammer_999 »

You can read the online libtorrent-docs. qbt in most cases uses the default values.
http://libtorrent.org/manual.html
TraxXavier

Re: Peer Management

Post by TraxXavier »

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...
User avatar
Nemo
Administrator
Administrator
Posts: 1744
Joined: Sat Jul 24, 2010 6:24 pm

Re: Peer Management

Post by Nemo »

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?
TraxXavier

Re: Peer Management

Post by TraxXavier »

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
Post Reply