Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-08-22 06:52:03

I am just about to find out how I could make use of the asio library,
and am wondering if async io also can be done without using handler

I recognize that it is possible to use it in a blocked manner as follows:

assuming we have an open socket: sock

read(sock, buf);
... use the buffer contents ...

Now I am wondering if I could also accomplish something like:

cp = async_read(sock, buf);
... do something useful ...
.. use the buffer contents ...

Thank you,
Roland aka speedsnail

Boost list run by bdawes at, gregod at, cpdaniel at, john at