3 ms·
> Lesson two: TCP is evil. Does this mean WebSockets are unusable for most type of multiplayer games?
by Kiro 13y ago
> Lesson two: TCP is evil.
Does this mean WebSockets are unusable for most type of multiplayer games?
- Ygg2 13y agoNot as such, you can use TCP, just be aware that it won't guarantee that your packet will arrive in order given. http://gafferongames.com/networking-for-game-programmers/udp-vs-tcp/ http://gafferongames.com/networking-for-game-programmers/udp...
- exDM69 13y ago> > Lesson two: TCP is evil. > Does this mean WebSockets are unusable for most type of multiplayer games? Yes, it means that WebSockets are unusable for real-time multiplayer games like fast paced FPS games. That may not be "most" multiplayer games, though. If you're planning a game on top of WebSockets (or TCP), the gameplay should be tolerant of 3-5 times the network round trip time.