"timeouts.html#beast.using_io.timeouts.reading_and_writing">Reading
        and Writing</a>
      </h5>
<p>
        Timeouts apply to the logical operation, expressed as a series of asynchronous
        calls, rather than just the next call. This code reads a line from the stream
        and writes it back. Both the read and the write must complete within 30 seconds
        from when the timeout was set; the timer is not reset between operations.
      </p>
<pre class="programlisting"><span class="identifie