• Which is better for game networking?
    4 replies, posted
We have been doodling for a while with making a Java game and now as it is time to implement the network system, well, we have come to the choices of Kryonet vs Jexxus. Which would be better in terms of scalability and performance please?
[QUOTE=CountNoobula;40715838]We have been doodling for a while with making a Java game and now as it is time to implement the network system, well, we have come to the choices of Kryonet vs Jexxus. Which would be better in terms of scalability and performance please?[/QUOTE] Unless you explain what your game is there's no way to tell, apart from benchmarking the libraries and comparing the API. In 90% of cases UDP is probably better than TCP, mostly because of latency but also for the fact that you can tunnel through NATs if the endpoints are mutually known.
Sure :) It is a little topdown RPG sandbox with various entities, etc. Map is also procedurally generated :) Thanks for insight about UDP vs TCP :)
If i'm reading this right... Jaxxus is tiny bit lower level than kryonet, as in Jaxxus sends bytes while kryonet sends objects?
Obligatory: [url]http://gafferongames.com/networking-for-game-programmers/[/url]
Sorry, you need to Log In to post a reply to this thread.