[Standards-JIG] PROPOSAL for Live Chat
melo at co.sapo.pt
Fri Jan 5 22:50:14 UTC 2007
On Jan 5, 2007, at 10:35 PM, Yann Le Boulanger wrote:
> Pedro Melo wrote:
>> - each stanza sends a partial set of characters, including a offset
>> number, and a total size number. The receives replaces the current
>> starting at offset with the received update and then trims at the
>> lenght. This should cover any updates/deletes, etc)
> you send too much thing. offset + len(chars) = total size, so no
> need to
> send everything.
We need both to detect deletes.
If you have from a previous message of mine 12345 and I erase 45 and
type 6, the message should be 1236, and I would send 6 as the delta,
3 as the offset (assume 0 based offsets) and 4 as the size (to
eliminate the last 5).
HIId: Pedro Melo
SMTP: melo at co.sapo.pt
XMPP: pedro.melo at sapo.pt
More information about the Standards