mIRC Homepage
Posted By: Coffee Limit cps when reveiving a file - 01/03/04 04:31 PM
Is there any way to?
Posted By: TonyTheTiger Re: Limit cps when reCeiving a file - 01/03/04 06:33 PM
Sure there is .. ask the sender to limit their cps smirk
Posted By: Coffee Re: Limit cps when reCeiving a file - 01/03/04 06:51 PM
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.
Posted By: d00dman Re: Limit cps when reCeiving a file - 01/03/04 08:02 PM
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
Posted By: Jae Re: Limit cps when reCeiving a file - 01/03/04 08:43 PM
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?
Posted By: Coffee Re: Limit cps when reCeiving a file - 01/03/04 09:22 PM
Would certainly keep users that little bit happier when it comes to choice.
Posted By: root66 Re: Limit cps when reCeiving a file - 01/03/04 10:56 PM
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.
Posted By: CtrlAltDel Re: Limit cps when reCeiving a file - 02/03/04 02:06 PM
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?
Posted By: root66 Re: Limit cps when reCeiving a file - 02/03/04 04:08 PM
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.
Posted By: Mentality Re: Limit cps when reCeiving a file - 02/03/04 06:10 PM
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,
© mIRC Discussion Forums