I would suggest you not to use a number as a identifier. If you get a broken package, the client application can interpret a cifre of Y as a header of a packet.
It's a good idea to send player status every X millisecs (for example every 400 millisecs) better than sending packets non-stop all the time.
It's a good idea to send player status every X millisecs (for example every 400 millisecs) better than sending packets non-stop all the time.