Can anybody give me an example of passing objects by c++ sockets? Currently i am transforming my objects into delimited strings (manually iterating through attribute values when serialising/deserialising)
and sending the resultant data.
my objects are are similar to:
I currently have a server written in c++ which reads in objects that it uses for calculations and returns an object of outputs. I'm connecting in both c++ and c# apps, but c# is the priority as the main app that requires the data is in c#. the approach i'm using seems to be quite slow - what are the best practice recommendations?