Its a LAN game, not Internet.
Even if it's a lan game you don't want to send the sprite image everytime time you send a packet

The reason i dont simply send the players new x,y coords is because thats not enough information i.e. it doesnt say what direction the player is facing (he can walk in 8 different directions).
Then just send all the information that is needed.
Can you suggest a way for me to do this? Maybe a bit of sample code?
Ok then:
1 2 3 4 5 6
| DataOutputStream dataOut = new DataOutputStream(socketOut); dataOut.writeInt(posx); dataOut.writeInt(posy); dataOut.writeFloat(direction);
|
Look at the javadoc for java.io.DataOutput java.io.DataInput, and all the other classes in java.io for that mather.