3 ms·
This guy (Glenn Gaffer) has been writing network protocols for games for years and shipped popular titles. On his site you can also find an irate rant about pe
by exDM69 10y ago
This guy (Glenn Gaffer) has been writing network protocols for games for years and shipped popular titles.
On his site you can also find an irate rant about people with no experience dismissing his claims as "reimplementing TCP". It has good points but it's a frustrated rant (reader beware). But it addresses a lot of the commonly believed fallacies.
His latest project is an open source library for game networking over UDP: https://github.com/networkprotocol/libyojimbo https://github.com/networkprotocol/libyojimbo
And he is correct, for "real time" games you must use UDP or you will be in trouble in real world networking conditions. When everything runs smoothly, TCP and UDP work almost identically but when packet loss occurs, TCP will make things worse.
- jay_kyburz 10y agoGlenn _Fiedler_ - Gaffer is his online name / handle. Worked with Glenn on Freedom Force and Tribes. He knows his stuff!