hi,
somehow, this friend slot thing nags me a lot. i don't know how it is implemented, but it appears to me very 'fractal'. Obviously it is very resistent against fixing. Do i assume right that aMule tries to copy options from eMule? (i don't know eMule.) Cut that. Think of something better.

i suggest to revamp handling friends and friends slots as simple as possible:
-1- there is no explicit friends slot.
-2- all friends simply get a high score multiplier; e.g.: x 25.
i actually see no increased danger for abusive use. you can currently devote nearly all your upload to a single friend by setting very high bandwith per slot, this cannot get worse.
no change to current state:
- UL to friend doesn't start immediately.
disadvantages:
- UL to a single friend is interrupted after each chunk.
- you cannot favor one friend over other friends currently in your UL queue.
advantages:
- code to handle friends' connection state eliminated.
- code to handle a friends slot eliminated.
what's your opinion?
... m2kio !
additionally, i'd like to have the option to set a peer to 'foe' state.
