Am 20.07.2011 12:26, schrieb Dave Cridland:
On Wed Jul 20 04:34:29 2011, Mark Rejhon wrote:
So, does anyone recommend a standardized method of a sub-70-byte keep
alive
<message> ?
NOPE!
XEP-0198 "Null acks" are good. Just send an <a/> even if you don't need
anything new acked, and the peer responds with an <r/>. This slides in
under the FACH limit nicely, especially with compression.
An <a/> doesn't trigger a response, the <r/> triggers an <a/>. And don't
forget the namespace. That adds additional 22 chars, so a ping/pong
(XEP-0199) is shorter because it lives in the normal namespace.
Regards,
Alexander