[MUD-Dev] Semi Graphical Muds

Felix A. Croes felix at dworkin.nl
Wed Feb 14 13:31:39 CET 2001


Bruce <bruce at puremagic.com> wrote:

> Felix A. Croes wrote:
>
> > I have looked at it now, and BXXP doesn't appear to have connection
> > state recovery -- automatic resending of messages lost due to a dropped
> > connection -- or UDP support.
>
> Felix,
>
> I'm having trouble seeing how your connection state recovery is 
> something that is safe to do, assuming that it is something like:
>
>   * I enter some commands.  Some are still buffered up.
>   * Connection drops.
>   * Connection is re-established.
>   * My buffered up commands are sent.
>
> Is that accurate?

Not quite.  Each message sent by either client or server has a
sequence number.  When a connection is dropped and re-established,
each side knows exactly what the last message was that it has actually
received, and can so inform the other party.

Furthermore, both client and server can continue to generate messages
to the other party even while the connection is down, so that a
temporary connection loss can be presented to a higher layer as no
more than a bad case of lag.

Regards,
Felix Croes
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list