Indeed the data transfered is continously transfered at high speed and it is written directly to disk. Which is the best method I could use to slow cpu usage? - make a timer and send data whith interrupts (but how to make a timer whith 0.2 seconds step for example?) - find somehow a component that limits bandwidth so that data to be forced to be send in slower motion .... - other method ....
Radu --- On Thu 03/16, Wilfried Mestdagh < [EMAIL PROTECTED] > wrote: From: Wilfried Mestdagh [mailto: [EMAIL PROTECTED] To: [email protected] Date: Thu, 16 Mar 2006 14:55:13 +0100 Subject: Re: [twsocket] twsocket cpu usage Hello Radu,It is also possible if you send / receive very mutch data at high speedand save to disk or so. This take some time and meanwhile next chunck isprobably already received.If this is the reason then you can slow down the sending a little bywaiting a littel between data chuncks. You can do this using a timer forexample.---Rgds, Wilfried [TeamICS]http://www.overbyte.be/eng/overbyte/teamics.htmlhttp://www.mestdagh.bizThursday, March 16, 2006, 13:50, [EMAIL PROTECTED] wrote:> Hello> Is there a way to limit the cpu usage when receiving files thru TWsocket?> Usualy CPU is 90-100% used and the computer freezes for the time the transfer is made.> Radu> _______________________________________________> No banners. No pop-ups. No kidding.> Make My Way your home on the Web - http://www.myway.com-- To unsubscribe or change your settings for TWSocket mailing listplease goto http://www.elists.org/mailman/listinfo/twsocketVisit our website at http://www.overbyte.be _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- 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
