[MUD-Dev] UDP Revisted

Brian Hook bwh at wksoftware.com
Sun Oct 14 21:03:40 CEST 2001


At 01:34 AM 10/14/01 -0400, Amanda Walker wrote:

> If you don't want to invent the wheel, take a look at how the
> streaming media folks have approached the problem.  Use TCP for
> setting up connections, passing authorization and control
> information, billing data, etc. where it absolutely positively has
> to arrive intact and latency doesn't really matter.  Use UDP for
> the media, where staying in sync is more important than getting
> everything.

Why bother with the TCP layer at all?  Since there is going to be
some data that must be sent reliably (and in order) during active
game sessions, and since TCP and UDP typically operate at a "skew"
with respect to each other as a result of their different
requirements, you're going to have to implement a reliable transfer
over UDP anyway.  So just leverage that instead of doubling the
amount of net code you need to write.

Brian

_______________________________________________
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