|
Boost Users : |
Subject: Re: [Boost-users] [asio] Closing async client socket after writing last message
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-06-18 15:59:37
On 06/18/2014 08:48 PM, Nicholas Yue wrote:
> write_msgs_.pop_front();
> if (!write_msgs_.empty())
Swap these two lines; otherwise you do not write the last message.
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