[Gambas-user] server socket problem
guiodic
guido.iodice at ...626...
Mon May 25 14:03:36 CEST 2009
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.
More information about the User
mailing list