|
Boost Users : |
Subject: Re: [Boost-users] [asio] How to deal with no-connect and/or read-timeout
From: Nat Linden (nat_at_[hidden])
Date: 2013-06-25 16:29:43
On Tue, Jun 25, 2013 at 2:54 PM, Michael Powell <mwpowellhtx_at_[hidden]> wrote:
> On Tue, Jun 25, 2013 at 10:00 AM, Marat Abrarov <abrarov_at_[hidden]> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net