Reputation: 10507
Whats the best way to send a complex structure using boost's asio async_write
... Any suggestions?
Thanks!
Upvotes: 3
Views: 1585
Reputation: 24174
You'll need to serialize the structure, some options include
I've answered several similar questions when using Boost.Serialization with Boost.Asio, here is one that may be useful to you.
Upvotes: 8