Ron_1st wrote:
> 
> No, this is not correct.
> 
> My internet connection is 20Mbits (20/8 = 2500 KByte/second)
> When I write 1Kb (8kbit) it goes with 20Mbs speed on the wire.
> 
> Using packets of 1 KByte every second is a transfer rate (bandidth)
> The average is then the wished 1 Kbits using 1/2500 second and the
> remainder of 2499 Kbits is free for other tasks.
> 
> 

Well, ok, my English is poor so I think there was a misunderstatement.

But my problem now is how to avoid freezes caused by the WRITE instruction. 
If this can give me a way to calculate how many kb the client receives in 1
second, this is very good too.

So, I think it is possible to calibrate the pause when the first freeze
occours, but is a "dirty" solution, I prefer to avoid the freeze.

-- 
View this message in context: 
http://www.nabble.com/server-socket-problem-tp23697722p23705910.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to