Good day everyone!
I am building a dedicated server for my game and i have run into a data problem.
I was wondering what the best way is to transfer data (variables and/or classes) over the network?
In the data contains information like Current connected players to the server, available game rooms and more. I have searched a lot on the internet and i see a lot of different things about serialization. but i could not find clear information about how to send objects / variables / classes over a network and keep all these variables synchronized.
I hope somebody can help me.