« Return to Thread: boost::asio::async_read_until composite completion condition

Re: boost::asio::async_read_until composite completion condition

by Igor R :: Rate this Message:

Reply to Author | View in Thread

> 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 mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: boost::asio::async_read_until composite completion condition