
22 Oct
2010
22 Oct
'10
3:29 p.m.
Michael,
The code examples do this correctly. It uses a private data member in the class named data_. The pattern uses bind and shared_from_this in the handlers to ensure lifetime. That is the correct way.
You may find my boostcon10 slides useful. Ownership of memory buffers is part of the proactor model.
http://www.objectmodelingdesigns.com/boostcon10/ http://www.blip.tv/file/4171562/
thank you - I'll take a look.. Akos