Client/Server Optimization
Look below for the actual server and client communication. The client can't run on it's own, but the important part is figuring out why the server can get positions so quickly, but they can't be sent back to the clients with as much speed.
Hello. I've recently gone through the Java networking trail and a few other networking tutorials, and I'm starting to get a decent grasp on it, so I went right ahead and made myself a multiplayer game for LAN (because I don't know how to connect over internet yet) but now I have some optimization questions, because my server is sending clients the integers which represent the positions of other clients way too slowly to be acceptable.
I'll be playing this barebones version of my game and checking my command prompt (windows) to watch the coords of my character or another get updated, but I notice that it's at least 20 seconds after when I stopped moving that the coordinates finally catch up, and more depending on how much I move. It's upacceptable for a multiplayer game.
I'll post a SSCCE (which will just be the source code of it all wrapped up in a ZIP file anyway, because there's no way to take any of this out), and I was hoping one of you kind people could help me work my way through this nasty slowness, and thank you everyone who looks at this, even if you don't come up with any solutions for me :)
Game.zip