17 Sep
2009
17 Sep
'09
2:08 p.m.
For async_read, the completion handlers may be called out of order, so you need to keep track about the order of the requests (you could, for example, give a sequence number for each async_read, and pass that number to the callback function). On the other hand, for async_write, since it is divided in many async_write_some,
async_read() also performs multiple socket::async_read_some()