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.


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