Darren Cook
2012-02-21 02:47:08 UTC
I asked this question on stackoverflow:
http://stackoverflow.com/q/9324695/841830
Short version: what is the best way to (compose and) store a message to
be broadcast with async_write()? I have something working, but there
seems to be a lot of copying going on. I can see lots of choices in
asio, but I'm hoping for guidance on which is best in this case (and why).
Thanks!
Darren
P.S. If you hate StackOverflow, I don't mind answering here too.
http://stackoverflow.com/q/9324695/841830
Short version: what is the best way to (compose and) store a message to
be broadcast with async_write()? I have something working, but there
seems to be a lot of copying going on. I can see lots of choices in
asio, but I'm hoping for guidance on which is best in this case (and why).
Thanks!
Darren
P.S. If you hate StackOverflow, I don't mind answering here too.
--
Darren Cook, Software Researcher/Developer
http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)
Darren Cook, Software Researcher/Developer
http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)