Whats the best way to send a complex structure using boost's asio async_write
... Any suggestions?
Thanks!
Whats the best way to send a complex structure using boost's asio async_write
... Any suggestions?
Thanks!
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.