Tag Info

Hot answers tagged

1

I am using KryoNet for a Java game i am making. I will sometimes have several hundrets of units at the same time. My approach has been to send frequent unit updates in small UDP packages and use interpolation on the client. I also rarely send larger unit update packes, also via UDP, with information that does not need to update as frequently as position and ...


1

Summary of TCP and UDP UDP: Sends packets as fast as it can and never checks whether or not the packet has been received. Order is not important either. TCP: Packets will be verified and an acknowledge must be received by the endpoint. Packet order matters. Answer Yes, it was discouraged to use TCP in the past for real-time games. It still is, to a ...



Only top voted, non community-wiki answers of a minimum length are eligible