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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With