Re: [twsocket] Strange behavior or not?

2005-11-10 Thread Larini
Thanks Wilfred, but I need to send the next message only after I receive the ok from server. Wilfried Mestdagh wrote: >Hello Larini, > >>I'm getting unstable times, from 70 ms to 3 seconds. > > >This can happen. It is depending the traffic on the network. If very >heavy on a large network it _c

Re: [twsocket] Strange behavior or not?

2005-11-09 Thread Wilfried Mestdagh
Hello Larini, > I'm getting unstable times, from 70 ms to 3 seconds. This can happen. It is depending the traffic on the network. If very heavy on a large network it _can_ take a while. > while gWait do > begin > application.ProcessMessages; > sleep(1); > end; This is not needed, you only waste

[twsocket] Strange behavior or not?

2005-11-09 Thread Larini
Hi, here is my simple app, one client and one server. The mission: send a message from client to server and wait for replay. I'm getting unstable times, from 70 ms to 3 seconds. My question is: this is normal? What kind of client-server configuration I must have to get more stable results (like 200