Bandwidth Throttling in .306?

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
D2T
Posts: 3
Joined: 2004-01-15 21:06

Bandwidth Throttling in .306?

Post by D2T » 2004-01-15 21:09

Has anyone ever tried to adapt DC++k's bandwidth throttling to newer versions of DC++? I've been trying lately, but haven't had much luck.

I share my cable modem with my roommate and I'd like to be able to control the upload speed.

Anyone out there done it? I've been trying to cut/paste into the newer versions, and it compiles, but the throttling is eratic. :?

Twink
Posts: 436
Joined: 2003-03-31 23:31
Location: New Zealand

Post by Twink » 2004-01-15 23:51

try out BCDC it has up/down limiting in it.
http://utrum.dyndns.org:8000/

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-01-16 12:11

The code also changed a bit since I gave it to Sarf for DC++k. BCDC's code correctly throttles compressed transfers, and should be a little better in other respects than the code in DC++k.

D2T
Posts: 3
Joined: 2004-01-15 21:06

Post by D2T » 2004-01-16 19:16

Thanks for the info, I'll check it out.

xhost+
Posts: 19
Joined: 2004-01-22 18:01
Location: in.the.middle.of.nowhere

Post by xhost+ » 2004-01-22 18:32

I did it on .305. and it works fairly well (very stable, not erratic). Blind copy/paste doesn't work though since a few things evolve between .251 (latest ++k) and .305.
Just read the code and adapt but don't forget that there are 3 main classes to update : DownloadManager, UploadManager and BufferedSocket.

xhost+

D2T
Posts: 3
Joined: 2004-01-15 21:06

Post by D2T » 2004-01-22 22:12

Yeah, I had never used the original DC++, so I didn't even know there were compressed downloads or anything to compensate for. Took a look at the BCDC++ code and it answered a lot of questions :)

But now I don't even have to bother! I'll just use BCDC++! yay!

Locked