Boost Users :
Subject: Re: [Boost-users] [asio] Closing async client socket after writing last message
From: Nicholas Yue (yue.nicholas_at_[hidden])
Date: 2014-06-18 16:49:05
On 18 June 2014 12:59, Bjorn Reese <breese_at_[hidden]> wrote:
> On 06/18/2014 08:48 PM, Nicholas Yue wrote:
>> if (!write_msgs_.empty())
> Swap these two lines; otherwise you do not write the last message.
Thanks for the heads up.
Does that mean that the examples will example this problem ?
as it does a pop before checking
-- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools
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