I try to do a pong game to play in network. Two applications one client an another server. The server commands the ball and send the coordinates of the ball and the position of the racquet to the client in an array by mean of an array. And the problem is that the array values don't refresh, the values are the same always. I use the method writeObject(int m) and readObject()
I try to use ArrayList instead of an array, and Integer, but does't change the result. Aswell try to use a new class Message with variable members the coordinates of the ball and racquet, but is the same problem
As to sharing code, you have several options. One is to create an SSCCE (that's a link), but this may be difficult with a Client/Server application. The other to share a GitHub url, but this may provide too much information.
So, as a third option, try to share just the class that you think is causing the problem, or even a snippet of the class, but make sure there is enough code to understand what is going on.
All things are lawful, but not all things are profitable.