|
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