[Gambas-user] server socket problem
guiodic
guido.iodice at ...626...
Sun May 24 23:44:24 CEST 2009
Benoît Minisini wrote:
>
> But you can enhance your code by fixing your "WAIT pause" instruction.
>
> If WRITE blocks, then you must take its execution time into account, and
> lower
> the pause accordingly.
>
> Regards,
>
> --
> Benoît
>
>
oh......... yes!
I can measure the WRITE execution time.
This would be usefus to get the real trasfer rate: If WRITE take a second,
the transer rate is 1KB/s.
Is it correct?
but: I see http://gambasdoc.org/help/cat/time
"Now" can be used for seconds, that is good enough for transfer rate > 1kb/s
(in my program, because dim_buf=1024)
Well, how I can measure 1/10 or 1/100 of second?
If it is impossible, I think 1 sec is mostly enough.
--
View this message in context: http://www.nabble.com/server-socket-problem-tp23697722p23698422.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list