4 ms·
>connection startup In some situations you do, but if the game has a matchmaking server you can just go. >connection teardown Packets stop when the game ends
by Dylan16807 13y ago
>connection startup
In some situations you do, but if the game has a matchmaking server you can just go.
>connection teardown
Packets stop when the game ends, no need to do anything special.
>packet loss
You have to deal with this but you don't have to use a similar method to what TCP does.
A minimal UDP protocol to meet the requirements of a game might not do nearly anything TCP does, yet work perfectly fine. A fancier protocol might have a TCP-like channel, but that's not a guarantee. And it's not hard to use UDP and TCP at the same time.
- einhverfr 13y ago> You have to deal with this but you don't have to use a similar method to what TCP does. Particularly if you are not using the similar methods, a thorough understanding of TCP is helpful. Otherwise you run into the possibility of reinventing TCP badly.