Re: [twsocket] httpClient, total bytes received / sent

2006-02-08 Thread Tibor Csonka

OnDocDate event:
-

TotalReceived := TotalReceived + Len;

-

  

Yes, but be carefull 'cause if you do UI stuff in OnDocData event the 
transfell could slow down awfully!
-- 
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


Re: [twsocket] httpClient, total bytes received / sent

2006-02-08 Thread Marius van Tubbergh

 Yes, but be carefull 'cause if you do UI stuff in OnDocData event the 
 transfell could slow down awfully!

Is there any other way around besides in OnDocData event?
Because performance is of utter most importance to me.




-- 
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


Re: [twsocket] httpClient, total bytes received / sent

2006-02-08 Thread Tibor Csonka
If you just inrease an integer in the OnDocData event this shouldn't be 
a performance issue.

Marius van Tubbergh wrote:

Yes, but be carefull 'cause if you do UI stuff in OnDocData event the 
transfell could slow down awfully!



Is there any other way around besides in OnDocData event?
Because performance is of utter most importance to me.




  

-- 
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


Re: [twsocket] httpClient, total bytes received / sent

2006-02-08 Thread Wilfried Mestdagh
Hello Marius,

As Tibor noticed, just increment a integer and with a Timer you can
update the UI every few seconds. This way you will not have performacne
degrease. It is not the calculation that take time, it is graphical user
interface is very slow.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
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