Boost::asio::async_write, writing data larger than 65536 bytes?

An issue is that using the async_write function data will be send not immediately by the function but in some time after the start method is finished and the local message variable will be destroyed and the boost::asio::buffer does not copy the content of message . It stores only a reference to it. The result is unpredictable.

May be transmission of 65536 bytes is the result of this behavior.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions