WHACK (was: Re: [Standards-JIG] Reliable message delivery (the tcp problem))

Tony Finch dot at dotat.at
Wed Apr 26 18:34:51 UTC 2006


On Wed, 26 Apr 2006, Dave Cridland wrote:
>
> However, you generally know this because a subsequent stanza sent a few
> seconds later doesn't generate a TCP error on send, or you receive some data,
> or whatever. The remote party always has to accept stanzas in order, so any
> command succeeding or failing is evidence that all prior stanzas have been
> accepted.

... so long as you receive some concrete evidence of that success, such as
a response to an <iq/>. For <message/>s it's more tricky because they can
be pipelined, so you can lose anywhere from nothing to a whole window-full
when the connection goes down.

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
VIKING NORTH UTSIRE SOUTH UTSIRE: SOUTH 7 OR GALE 8, OCCASIONALLY SEVERE GALE
9 IN VIKING AND NORTH UTSIRE, DECREASING 5 OR 6, THEN VEERING SOUTHWEST 6 OR 7
IN VIKING. RAIN AT TIMES. MODERATE OR GOOD.



More information about the Standards mailing list