18 Feb
2010
18 Feb
'10
4 p.m.
On Thu, Feb 18, 2010 at 8:59 AM, Jonathan Franklin
On Thu, Feb 18, 2010 at 8:49 AM, David Kaplan
wrote: I tied _socket(ioService), still no luck....
This is presumably a member variable, so you must do it in the constructor initializer list. I have written many classes that have an asio::socket member variable, so I know it works.
Note that if you need to delay the creation of the socket, you might consider using a smart pointer to a socket. Jon