i executed this code as TCP client:
boost::system::error_code error;
const std::string msg = "Hello from Client!
";
boost::asio::write(socket, boost::asio::buffer(msg), error);
std::cout << "error.message(): " << error.message() << std::endl;
and got this message:
error.message(): ╬яхЁр?ш? ?ёях°эю чртхЁ°хэр
I use windows 10. Should i change language somewhere? Why it is not readable.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…