Re:UDP vs TCP
by jay_kyburz on Thursday December 29, 2016 @01:15AM
(#13275945)
Glenn _Fiedler_ - Gaffer is his online name / handle.
Worked with Glenn on Freedom Force and Tribes. He knows his stuff!
Worked with Glenn on Freedom Force and Tribes. He knows his stuff!
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
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.