> > > Hi,
> > >
[quoted text clipped - 38 lines]
>
> Andy
The query may be light, it still takes a full roundtrip which, when taking
network latency into account, can be quite noticeable, especially when using
small bandwidths.
Silvio Bierman
Andy Fish - 13 Feb 2004 11:14 GMT
<snip>
> The query may be light, it still takes a full roundtrip which, when taking
> network latency into account, can be quite noticeable, especially when using
> small bandwidths.
>
> Silvio Bierman
indeed, but the purpose of the original post was to ascertain whether there
is any "lighter" way to test if the connection is still alive (and I beleive
the conclusion is that there is not)
therefore I will use the combination of the lightest query I can think of,
combined with the timeout period so I only test the connection if it has
been idle for a while