Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio::async_read_until composite completion condition
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-09 17:20:38


> I need to implement a completion condition for boost::asio::async_read_until
> where either a boost::regex is matched or boost::asio::transfer_at_least is matched.

With this overload:
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/reference/async_read_until/overload4.html
...you can implement any condition you wish.


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