$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Sockets and structures?
From: Rush Manbert (rush_at_[hidden])
Date: 2009-09-25 15:50:50
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