Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio problems with async_read
From: Igor R (boost.lists_at_[hidden])
Date: 2011-08-08 08:32:47


>    boost::asio::async_read(
>            cctalk_port,
>            result,
>            boost::asio::transfer_at_least(1),
>            boost::bind( &set_result, &read_result, _1 ));

The above call promises you to read 1 byte.
After it completes, where do you start another one?


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