Dave, are you sure sending pings for keepalive is a good idea? This generates a lot of traffic for mobile devices. Normally, a TCP keepalive or - if not available - sending a space should be sufficient.
IMO, pinging should be used to get to know the latency, not as a keepalive. -- Jonathan
signature.asc
Description: PGP signature