Home > other >  Board games often dropped calls a TCP connection, weak network cases network stability performance t
Board games often dropped calls a TCP connection, weak network cases network stability performance t

Time:09-19

Board games app, the client use the cocos creator development, communication using TCP protocol,
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 problem

CodePudding user response:

This will have to look at your source code. Otherwise, there is no way to see a problem

CodePudding user response:

Look at the connection of the server number
The number of connections
  • Related