Nice work. Can You give me the code to start Your functions. This won't work:
unit Main; interface uses ... uthrottledWsocket; procedure TForm1.FtpClient1Progress(Sender: TObject; Count: Integer; var Abort: Boolean); var S: String; TotalTime: TDateTime; H, M, Sec, MS: Word; DLTime: Double; i: real; begin SetMaxBPSDown(strtoint(speedlimit.text)); ... end; [Error] Main.pas(1471): Undeclared identifier: 'SetMaxBPSDown' ... I'll keep on trying ... ;) > You can have a look at and try to modify/improve my throttling code: > http://www.xantorrent.pwp.blueyonder.co.uk/ics/uThrottledWSocket.pas > > Dan > > ----- Original Message ----- > From: "Mice Cage" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Sunday, April 10, 2005 12:02 PM > Subject: Re: Re[2]: [twsocket] Is there a way to setup a valuefor maximal > downloadspeed? > > > > This function uses sleep, so it is clear why it freezes my app. Timers > are > > the only solution. ... but I don't have a clue how to implent a timer > into > > the delayfunction with the same function like sleep but without freazing > > the > > app. > > > > -- > > Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl > > > > -- > > To unsubscribe or change your settings for TWSocket mailing list > > please goto http://www.elists.org/mailman/listinfo/twsocket > > Visit our website at http://www.overbyte.be > > > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be