27 Jul
2011
27 Jul
'11
9:18 a.m.
Thanks! But it is possible to use the "error" variable outside the lambda functions? I would like to get something like this: async_accept(socket, [=] (const boost::system::error_code &error) { // }); if (!error) { //here there are a valid connection } -- View this message in context: http://boost.2283326.n4.nabble.com/ASIO-async-accept-and-c-2011-lambas-tp369... Sent from the Boost - Users mailing list archive at Nabble.com.