Sockets - When To Update

closed account (2NywAqkS)
In a multi-client server, when should the clients and the server be updated. For example, should the client update the server whenever the client moves and then the server updates the other players when it receives data. Or should the server constantly beam out updates to all client at regular intervals and the clients echo back?
You need to notify of client updates (deltas) to keep the thing interactive.

You may send full state updates on request to reduce network usage. A client may request this if it thinks it's out of date somehow. The server may limit how many of these are sent in a given time interval.
Topic archived. No new replies allowed.