Subject: Re: [boost] Does async_accept only access connection object raw pointer and wrapped it by shared pointer internally?
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-12-27 01:54:44
On Tue, Dec 25, 2018 at 10:13 PM Richard Hodges via Boost
> What you are not doing is preserving the lifetime of the session because
> you're not storing new_session anywhere.
> It becomes a little easier to follow if you use a lambda:
I explain all of this in simple terms, in my CppCon 2018 presentation
titled "Get rich quick! Using Boost.Beast WebSockets and Networking
TS", available here:
All of the source code for the program developed in the video is part
of Boost.Beast 1.69.0.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk