On 07/29/2015 06:28 AM, Sarvagya Pant wrote:
I think in my case the buffer is not full, thus the handler function is
not getting called. How should I change my code so that server can read
the message sent by client, process it and send back correct response.?
It is easiest to introduce a message separator into your wire protocol.
For instance, you could terminate each message with a newline. Then you
can use async_read_until().
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users