[MUD-Dev] UDP vs TCP for MUD/MMORPG project.
mud-dev at millsys.com
Sun May 11 16:24:41 New Zealand Standard Time 2003
From: Jason Slaughter
> Is this true??? Is UDP really that big of a problem? It seems like
> scare-mongering to me, or that people are just so used to TCP that
> they don't know any different... but my technical knowledge of the
> subject isn't great (I am doing this as a learning project), so I
> could be totally wrong. I would greatly appreciate people's
I asked myself the same thing when I was designing a MMOG a few
years ago. My natural inclination was towards UDP which a majority
of MMOG's use. Anarchy Online uses (as of last year) TCP because as
they claim it gives better ping and the connection is not dropped as
much as UDP.
TCP has error checking, splits data into packets and can be slow.
UDP does not have the same reliability but you get timeliness. You
can also implement indepedent connections ("streams") with
reliability on some streams through extra software layers and
timeliness on others.
TCP -> Retail product, comes with manuals, a box, discs, etc
UDP -> OEM. What you see is what you get.
In the end for a MMOG-like game as EQ I'd rather go with UDP,
however for a text-based MUD TCP is it. If you optimistically plan
to have over a few thousand people I would suggest UDP.
MUD-Dev mailing list
MUD-Dev at kanga.nu
More information about the MUD-Dev