
25 Jun
2013
25 Jun
'13
8:29 p.m.
On Tue, Jun 25, 2013 at 2:54 PM, Michael Powell
On Tue, Jun 25, 2013 at 10:00 AM, Marat Abrarov
wrote:
In general, you will need a state machine (or even few of them).
I am familiar with this concept. We've done something right along these lines for message framing. Out-bound (write/send) is simple. In-coming (read/receive), not so much: state machine.
You might also consider using Boost.Context to manage Asio state. I think there are Context examples dealing with Asio.