(true); auto n = peer_socket-&gt;read_some(targ...">nb_read_some_with_native_handle()</a>, perhaps after a <code>Peer_socket::async_wait()</code>) to attempt receipt of all of M, including supplying a target blob of exactly N bytes &ndash; without mixing with any other bytes or handles. The "hard" part of this is mainly to avoid having the previous read op "cut into" M.<ul>
<li>(Informally, a common-sense way to do it just make your protocol message-based, such that the length of the next message is always 