boost::asio::async_read- a complex operation that is well described in the documentation
This operation is performed in terms of zero or more calls to the async_read_some thread and is known as a folded operation. The program must ensure that the thread does not perform any other read operations (such as async_read, the async_read_some stream, or any other operations that it reads) until this operation completes.
any conclusions about performance should be based on empirical data depending on your application.
source
share