230 async_read_until(*
this,
fBuffer,
'\n',
232 dummy::error, dummy::bytes_transferred));
235 fTrigger.expires_at(
Time()+boost::posix_time::milliseconds(1000));
237 this, dummy::error));
Adds some functionality to boost::posix_time::ptime for our needs.
boost::asio::deadline_timer fTrigger
boost::asio::streambuf fBuffer
void HandleRequestTrigger(const bs::error_code &error)
void HandleRead(const boost::system::error_code &err, size_t bytes_received)