poy
poy

Reputation: 10507

boost::asio async_write complex structure

Whats the best way to send a complex structure using boost's asio async_write... Any suggestions?

Thanks!

Upvotes: 3

Views: 1585

Answers (1)

Sam Miller
Sam Miller

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

Related Questions