回覆: Re: [twsocket] Buffer size

2006-01-17 Thread Opqrst Ghrst
hello, thanks to reply. but by my test, if my cpu not slow when I use buffer 32kb to send 50MB file only cost 13Mins, with 8kb it must cost almost 20Mins. It not always can up to max speed, but maybe better for slow cpu works. --- Francois Piette [EMAIL PROTECTED] 說: Actully, the buffer

Re: [twsocket] Buffer size

2006-01-16 Thread Francois Piette
Actully, the buffer size you use to transmit receive is not critical at all. It has to be large enoug in orther to not have too much OnDataSent or OnDataAvailable events triggeres which would consume CPU and in case you have a slow CPU, you couldn't sustain the line speed when the line speed is