25 Sep
2009
25 Sep
'09
7:50 p.m.
On Sep 25, 2009, at 3:56 AM, pedro chaparro wrote:
hi, i'm wondreing if using asio library can i send a structure and not just string messages using the boost::asiio:write command? or how could i do to send a structure which have many information fields? thanks
Hi Pedro, For anything that doesn't involve pointers you could take a look at Thrift at http://incubator.apache.org/thrift/ Thrift supports lightweight cross-language and cross-platform RPC, as well as serialization to files. The standard release is POSIX only, but I've added a Boost/Asio based port to Windows that's currently available as a patch. - Rush