> The "buffer" function does not supports QString, so I wrote my own, is it correct? "utf16()" returns a pointer to a ushort (16 bit values).
 
 
It should be ok, if you don't modify (or destroy) the message_ until handle_write() is called.
(BTW, probably it's better to put such functions in your own namespace, not in the ASIO one.)