PING packets are sent if the server takes longer than 1 second or so.

There are two interpretations of the delay:
1. The server is busy
2. The server died (or the connection went down).

Since it's not possible to know how long the processing will take, the
owserver sends a PING message if the data isn't ready within the 1 second or
so.

The client can ignore it, or set a timeout on reading the response of 2
seconds and if nothing arrives (PING or data), you have an error.

If the read takes a very long time, more than one PING might be sent.

Paul Alfille.

On 8/22/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
>
> Actually I was reading it wrong. It shows it together in a single
> transaction and it's that ping packet you mentioned. Why is that sent?
> Are clients just supposed to ignore them?
>
> Pedro.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to