uspgamedev/Pirate-ship-battles

Change message sending/receiving policy

Opened this issue · 0 comments

Make the client drop old messages, so the client syncs faster with the server. And maybe reduce the update message size.

Jairo suggested using this method https://stackoverflow.com/questions/19496790/drop-packets-if-falling-behind-with-socket-io-in-node-js