Serialization or RPC


Hi guyz, I am trying to make a server for cocos2d-x. What method should I use for communication? Serialization or RPC?
Any experienced multiplayer game developer could help me in this problem.


It depends on what you need.

Take a look at these 3 libraries:

And read this good comparison between the 3 of them:

And for serialization only, try: