[Gambas-user] server socket problem

guiodic guido.iodice at ...626...
Mon May 25 00:52:24 CEST 2009




guiodic wrote:
> 
> This is the solution, I think.
> 

Damn, It doesn't work.

I have modified the code: I put print timer() before and after the WRITE:

PRINT Timer()
WRITE #LAST, b, Len(b) 
WAIT pausa 
PRINT Timer()

with pause=0.5 (=2kb/s) and wget set for 1 kb/s

well, this is the output:

20,453820946394
20,969091946492
20,979895946453
21,489847946446
21,499800946447
22,007914946415
22,018016946386
22,52836594649123,563187946449 <= ??? why?
23,572032946395
24,072186946403
24,081206946401
24,589998946409
24,598744946416
25,108171946486
25,117246946436
25,618006946403
25,621276946389
26,122185946442
26,125216946471
26,625601946493
26,635676946491

Only the first output is "right".
I try with 'sleep' instead 'wait', it is the same. I try to put 'wait' after
the second print. No change.

:(


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





More information about the User mailing list