Hi!
I would be glad to have some feedback on my idea. I’m currently in the middle of implementing networking in my first networked Java game (http://sourceforge.net/projects/motopain).
I have implemented two communication channels, one reliable (TCP) and one unreliable (UDP). UDP are used for position updates and TCP are used for messages such as collisions, inhabitants removed or added in the game world and other stuff that affects the game state more severely.
I’m pretty confident that I’m not the first to have these thoughts, so if any of you have tried something similar I would appreciate if you would share some of your experiences.
My main concern if is there is a cost involved with having a connection open (I set keepAlive to “true”) to the server?
Regards Anders