[MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Fri Mar 20 18:58:37 CET 1998


[Joel Dillon:]

:  Perhaps something could be done with threads which run at different
:speeds handling the sending of UDP messages? So they'd sleep for
:different amounts of time between resending packets that didn't get
:through.

A thread per packet could be somewhat expensive. Also, according to a
book I'm currently reading on Java, various OS's do quite different
things with thread priorities, so it is difficult to make threads work
the same across all of the OS's.

A simple solution, using UDP, would be to simply start the backoff of
the packets at a larger interval for the lower-priority packets. I'm
assuming here that the backoff mechanism increases the backoff interval
on each retransmit attempt.

Going directly to IP requires "raw" sockets, which aren't available in
Java (at least in 1.1), so that level wouldn't work with a Java client.

--
Chris Gray   cg at ami-cg.GraySage.Edmonton.AB.CA




More information about the mud-dev-archive mailing list