Boost logo

Boost Users :

Subject: [Boost-users] boost::asio::buffer + std::wstring
From: Luke Walker (luke_walker_at_[hidden])
Date: 2011-12-26 16:17:56


Hi,
I'm sending unicode text over a socket using boost::asio::async_write and boost::asio::buffer however only 1/4 of the string ends up at the receiver. What must I do so that all bytes are sent?
Thanks!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net