I have some problem on 1vs1 real-time game .
The game is like tennis,players need to hit the ball to the other side.
My question is that when I transfer data to the server on a moment someone hit a ball successfully,
the ball will go through on the other mobile because of network latency,
is there any wat to solve this problem?