[jdev] XMPP Ping method?

Jesus Cea jcea at argo.es
Thu Nov 2 17:39:27 CST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruce Campbell wrote:
> If you can be assured of whitespace pings between the client and the
> server, the server can simply queue up all stanzas as received and
> forwarded, and delete from the queue any stanzas sent between successful
> receipt of whitespace pings.  Without protocol changes, the odd
> duplicated stanza is probably the best of a known evil.

You can get a "whitespace", but you don't know if the other side
received all your data yet.

The idea somebody proposed of stanza sequence numbering could solve
that. More CPU/bytes, nevertheless.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRUqBr5lgi5GaxT1NAQJbowQAgrkLSew0DVaNQwxF/YhXCN4Y+5biXaoR
LgnYv5s8hwO+4wGqZdbCJsbKlRygXts0Fu3qidDE83rSnNhWapr6w4ps1/N/cf8X
jS1YIUpblFXA14jhA1PEXc9h8lW8Qf2fdQstXdKRXR9NG8VRFkwQCq0LlqmheSoY
RKUdB61cJx0=
=hWB/
-----END PGP SIGNATURE-----



More information about the JDev mailing list