Hi every one,
I am writing a online game with flex and java server and I have a big problem.
In normal case, my game run smoothly but some time the clients can't receive the command from server. I found that if server send message too fast or client is doing something when server send message, the game client can't detect for a new message so my game is freeze.
I only tested with 4 clients and I don't know what happen when thousands clients online in the same time. So terrible :(.
In the game client, I use one EventDispatcher class to dispatch any command from the server.
Do you have any solution to warranty that client must receive any message from server when the connection is still alive or server must know if client received the message or not.
I use flex 3 with Socket (binary) and Java QuickServer.
Thank you so much!