
23 Sep
2010
23 Sep
'10
3:20 p.m.
Is this legal? I think I understood in the documentation that it isn't, but I'm not sure if it means this: void func() { async_write(....); async_write(...); } So, should I do this ALWAYS? void func() { async_write(..., another_func); } void another_func(const boost::system::error_code & ec, std::size_t bytes) { async_write(...); } Thanks in advance.