Serialization or RPC


#1

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.
Thanks


#2

It depends on what you need.

Take a look at these 3 libraries:

And read this good comparison between the 3 of them: http://www.slideshare.net/IgorAnishchenko/pb-vs-thrift-vs-avro

And for serialization only, try: