|
Boost Users : |
Subject: Re: [Boost-users] [asio] skipping data in tcp stream
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-30 07:22:16
> One more: can boost::asio::async_read return without filling provided
> buffer fully? I guess only in case of some error that will be set in
> boost::system::error_code parameter.
async_read has 4 overloads:
http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_read.html
2 of them have completion condtition parameter:
http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_read/overload2.html
http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_read/overload4.html
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