Hi ;)
Trying to make my own network game. For now made simply sending. Can easily send message to clients and from client to server. But now thinking how to send for example how changed one of client information. I only imagine that can be done by send method with some string parser on receive. Before sending I make format string (from to command parameters), and on receiving I will parse it. Or maybe possible to send so struct?
In my network model server at the same time is client (he can play to, just re-translate clients info to other clients). Every client (and server) holds info about whole players. And on connection/disconnection every client list will update. If any client moves, it will send info to server, and server sends to other players, and player will be updated/repainted. So I need info from what ip, to what ip (or all ips), and where moved player. This is my first network, so my approach could be bad...