Client directly using the cocos engines to provide connection management, the server is a Java using the Mina,
We use the game ali cloud services, services provided by the network should be better, but the app has the following two questions:
1, in the actual use process, often there will be a TCP connection drops, often appear the heart expired start reconnection, and even there will be a failure,
2, good performance to the good, the condition of network under the condition of network conditions is not very good, relative to other game performance is far worse than others (we often connection timeout or intermediate dropped)
Client development, we don't have much experience, connection management did not find a better connection management framework and the reference, so help predecessors solution, so much money to the solution to solve the problem we are willing to acknowledge,
CodePudding user response:
This will have to look at your source code. Otherwise, there is no way to see a problemCodePudding user response:
This will have to look at your source code. Otherwise, there is no way to see a problemCodePudding user response:
Look at the connection of the server numberThe number of connections