3 ms·
It would probably also be better to use UDP instead of TCP -> you want to send updates as fast as possible, and if a packet is dropped you don’t want to waste n
by jakobegger 9y ago
It would probably also be better to use UDP instead of TCP -> you want to send updates as fast as possible, and if a packet is dropped you don’t want to waste network capacity to resend it — just send the next packet.
Then again, TCP is a lot easier to work with, since you get an error on the client side if you made a mistake. With UDP there is no way to know if the packet was received.