Boost logo

Boost Users :

Subject: Re: [Boost-users] Multiple async operations on a socket
From: Igor R (boost.lists_at_[hidden])
Date: 2009-09-17 10:08:36


>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()


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