
31 Jan
2011
31 Jan
'11
6:55 a.m.
I think you want multiple threads calling io_service::run instead of run_one.
I need to test for a program interruption signal, so I can't use io_service::run.
To serialize your connection-related completion handlers you'd want to wrap them in a Boost.Asio strand.
I'm not concerned about my own completion handlers. The handlers in Asio's composed operations is the problem. And I have no way to wrap those in strands.