4 ms·
http://gafferongames.com/networking-for-game-programmers/what-every-programmer-needs-to-know-about-game-networking/ http://gafferongames.com/networking-for-game
by man5quid 10y ago
http://gafferongames.com/networking-for-game-programmers/what-every-programmer-needs-to-know-about-game-networking/ http://gafferongames.com/networking-for-game-programmers/wha...
A great series for you to read.
tl;dr
Udp is good.
client to client sessions are terrible over the internet.
- k__ 10y agoA nice. Didn't know that. But makes sense. In the WebRTC case, the server could simply be a "peer" too :)
- zurn 10y agoThe P2P case this article discusses is "peer-to-peer lockstep", which is only a small subset of possible p2p systems. (it's called peer-to-peer instead of client-to-client, because there is no client role in such a system).