BNetEx UDP reliability

BlitzMax Forums/BlitzMax Programming/BNetEx UDP reliability

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I believe a common approach with big developer games is to use both, depending on the precise purpose. Critical information such as objects being bought and sold would be sent via TCP, because it must arrive, but it is not time-critical, whereas player positions would be sent via UDP, because speed is more important than accuracy for player positions.

TCP is always guaranteed, yes, and always ordered. I'm not sure about the relative speeds of guaranteed UDP vs TCP, but my gut says that an ordered UDP implementation *should* be faster. Raknet, for example, does this.