> My app look like:
>
> Server:
> procedure xyz
> ready=false
> send message number 101 to client.
> while not ready do
> processmessages
> sleep
This is bad. Remove your wait loop and use pure event driven operation.
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
> This operation server -> client -> server using wsocket takes 500,
> 600, 2000ms...
This is a log from one of my applications, running on a vehicle, using
wireless LAN, then ADSL across the country, contacting an ICS server,
updating a SQL database and responding with anything queued in SQL, a
Here is ping and tracert output:
C:\Documents and Settings\larini>ping my_ip
Disparando contra my_ip com 32 bytes de dados:
Resposta de my_ip: bytes=32 tempo=134ms TTL=116
Resposta de my_ip: bytes=32 tempo=198ms TTL=116
Resposta de my_ip: bytes=32 tempo=104ms TTL=116
Resposta de my_ip: bytes=32
Hello Larini,
You should do some ping from client up to your server just to see if
pings are also rather slow/unstable.
L> Hi, I have problems in the following situation:
L> My client send a message to server and wait a response from server.
L> This operation takes about 50ms to 3 seconds using T
Larini wrote:
> Hi, I have problems in the following situation:
>
> My client send a message to server and wait a response from server.
No problem except your program is WAITING in some loop.
With ICS you never need to wait for a response, instead an event
is triggered when new data arrives.
Rea
> Hi, I have problems in the following situation:
> My client send a message to server and wait a response from server.
> This operation takes about 50ms to 3 seconds using TCP component and adsl
> connection.
> I need a more stable times. Something about 300 ms or less.
> In a local network the ti
Hi, I have problems in the following situation:
My client send a message to server and wait a response from server.
This operation takes about 50ms to 3 seconds using TCP component and adsl
connection.
I need a more stable times. Something about 300 ms or less.
In a local network the time is le