mIRC Home    About    Download    Register    News    Help

Print Thread
Limit cps when reveiving a file #73305 01/03/04 04:31 PM
Joined: Dec 2003
Posts: 9
C
Coffee Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2003
Posts: 9
Is there any way to?

Re: Limit cps when reCeiving a file #73306 01/03/04 06:33 PM
Joined: Feb 2004
Posts: 124
T
TonyTheTiger Offline
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
Sure there is .. ask the sender to limit their cps smirk

Re: Limit cps when reCeiving a file #73307 01/03/04 06:51 PM
Joined: Dec 2003
Posts: 9
C
Coffee Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2003
Posts: 9
I was thinking more along the lines of 'on the fly', so if someone was to send me a large file and i needed to slow it down a bit & they're not @ their terminal, then i could do it from my end. Although if thats the only way then i guess so be it, would be nice if you could though. Anyway, thanks for reply 'n' all.

Re: Limit cps when reCeiving a file #73308 01/03/04 08:02 PM
Joined: Dec 2002
Posts: 86
D
d00dman Offline
Babel fish
Offline
Babel fish
D
Joined: Dec 2002
Posts: 86
Unfortunately, thats not how bandwidth throttling works. You can only control the speed of the traffic that you send. This isn't a limitation specific to mIRC, its how TCP works.

-chris

Re: Limit cps when reCeiving a file #73309 01/03/04 08:43 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
can always script in a way via SCRIPTs of course.. so pl can send u a msg n have i slow down accordingly. who knows it may become an irc standard?

Re: Limit cps when reCeiving a file #73310 01/03/04 09:22 PM
Joined: Dec 2003
Posts: 9
C
Coffee Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2003
Posts: 9
Would certainly keep users that little bit happier when it comes to choice.

Re: Limit cps when reCeiving a file #73311 01/03/04 10:56 PM
Joined: Oct 2003
Posts: 101
root66 Offline
Vogon poet
Offline
Vogon poet
Joined: Oct 2003
Posts: 101
DCC does not work in the traditional way of tcp transfers. It receives a chunk of data, then responds to the sender, and the sender continues with the next chunk. Some clients will not even send more than the first packet, a couple of Kbytes, unless they receive the proper response from the recepient during a DCC (other less-conformed clients just dump it like any other tcp xfer). Really I don't know any reason why mIRC couldn't have a threshhold on incoming transfers, it's just not there (yet). I could be wrong though.

Re: Limit cps when reCeiving a file #73312 02/03/04 02:06 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Quote:
Really I don't know any reason why mIRC couldn't have a threshhold on incoming transfers


um .. maybe because it was designed as a chat client with limited filesharing capabilities, not a file transferring client with chat capabilities?


I refuse to engage in a battle of wits with an unarmed person. wink
Re: Limit cps when reCeiving a file #73313 02/03/04 04:08 PM
Joined: Oct 2003
Posts: 101
root66 Offline
Vogon poet
Offline
Vogon poet
Joined: Oct 2003
Posts: 101
You act like it would take more than a minute or two to implement. There are real reasons to take into consideration.

All you do is set a timer that checks how much it has received since the last timer interval. If it's less than the set "download speed limit", it sends the dcc "ack" so the sender continues the xfer.

Mind you, this fix would only work with clients that follow the standards for the dcc protocol (choking the send until it receives an ack) and it would not be a 100% precise slowdown since some people set their DCC packetsize differently. Perhaps the confusion over why it may or may not be working at times is the reason for not adding it.

It may also be possible to do the checking on the data-receiving level, but I am not sure how safe that would be since there might be an excessive transfer overhead.

Re: Limit cps when reCeiving a file #73314 02/03/04 06:10 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I don't think it's a matter of how long or easy it would be to implement, it's the principal that mIRC is not a file sharing program. The file sharing capabilities of mIRC suffice for 98% of people who use it legitimately, and unless there's a bug that's affecting the DCC feature or indeed any other part of Windows or mIRC itself, there's little point in developing it. Even harder to do this whilst at the time discouraging illegal/mass file trading.

My 2 cents.

Regards,


Mentality/Chris