Before you build your multiplayer game, you may want to quickly brush over the different protocols. If you're new to networking, I'd recommend TCP as it's more predictable. But it would be better if you decided for yourself!
An analogy
Imagine it like a private mail service. Both users must have approved initially, and if you something goes missing, it'll be recognised and sorted out. Unsurprisingly, this checking process takes time.
An analogy
It’s a bit like throwing a paper message in someone’s garden. They might find it, or it might get soggy or blown away. But you didn’t need permission to throw it, and it’s a lot faster than using mail.
Remembering the difference
TCP stands for transmission control protocol UDP stands for user datagram protocol
I don't know about you, but knowing what the acronyms stood for didn't help me remember them at all. The way I remembered it is as follows. Please note, these are completely fictional!
TCP - Tethered
UDP - Unlinked |
Up next ➔ Multiplayer basics (soon)
Enjoyed this article?