|
Boost Users : |
Subject: Re: [Boost-users] [statechart] [spirit] OSI delimited message framing
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2013-06-19 15:00:26
Depending on your framework - if you use a std::stream from which you get
your sequence of bytes
which will be parsed in order to extract a message the simple example from
boost.coroutine docu could help.
It demonstrates how a execution is suspended if the std::stream
(stream_buf) can not provide enough bytes.
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