I am writing a server-client application in c and need to send some structures back and forth. From what I have learned, it would be a good idea to use some library to serialize the structures as it then rids them off platform dependency.
I read about some xml based and binary based serialization methods, but I am not sure what library to use and what are generally preferred. Can anyone suggest good libraries for the same? Also I need it to be simple and efficient (going well with the rest of my c code).
Any comment would be great a help.Thanks in advance.