On Tue, Mar 31, 2009 at 5:57 PM, Justin Karneges <justin-keyword-jabber.093...@affinix.com> wrote:
>> <justin-keyword-jabber.093...@affinix.com> wrote: >> > C: <message/> >> > C: <message/> >> > C: <message/> >> > C: <r/> (when S receives this element, it knows 'u' is 3) >> > >> > S: <a h='3'/> [...] > When the session is resumed, the server will state its last 'h' value. If the > server had received all three message stanzas, then the value it will use > during the resume is '3'. If it only received one, then it would put '1'. > The client will only resend what the server didn't get. Ok, so the <r/> just triggers an ack, and everything is bound to an implicit sequence number bound to stanza count. It seems to work, the only thing to decide is whether to count r & a stanzas ;) bye -- Fabio Forno, Ph.D. Bluendo srl http://www.bluendo.com jabber id: f...@jabber.bluendo.com