On Tue, Sep 2, 2008 at 9:47 PM, JLIST <[EMAIL PROTECTED]> wrote:
> I come from the TCP/IP world (as you can tell :) and I'm trying
> to understand how streams work in XMPP. Let's say I send out
> two <message /> messages. If they are delivered, are they
> guaranteed to be delivered in the same order they are sent?

Yes, in-order stanza processing is a spec. requirement.

> ... XMPP message delivery works more like TCP rather than UDP,
> which may drop packets when network condition is bad.

Right - you're not going to lose stanzas from the middle of a stream,
or have stanzas arrive out of order (when working with compliant
implementations, at least), but you may lose messages if the stream
goes down (I don't know of any implementation that monitors the TCP
stack and recovers stanzas that don't get acked at that layer).

/K
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to