[JDEV] Autoupdate

Ben Schumacher ben at blahr.com
Tue Jul 16 10:39:05 CDT 2002


On Tue, 16 Jul 2002, Kriggs wrote:
> How does the server a client is connected to know that there is a new version
> available? Does the server query some database when the client asks? From
> what I understand, the server DOES have something to do with this...

It relies on S2S. The current autoupdate protocol (which could be cleaned
up a little) is designed so that clients send a presence packet with the
following format:
  <presence to="1251235123 at update.jabber.org/0.1.2.3"/>

Where '1251235123' is a unique identifier, '0.1.2.3' is the current
version number, and update.jabber.org is (of course) the target host. If
your server doesn't have S2S configured, then autoupdate won't work.

Cheers,

bs.




More information about the JDev mailing list