[Standards-JIG] PROPOSAL for Live Chat
JD Conley
jd.conley at coversant.net
Fri Jan 5 16:39:39 CST 2007
> 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
> text
> > 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.
That's a good idea. I assume that in this implementation an offset that
is less than the last length - 1 means anything after that offset should
be truncated before appending the new text.
-JD
More information about the Standards
mailing list