asio C++ library

PrevUpHomeNext

waitable_timer_service::expires_from_now

Get the expiry time for the timer relative to now.

duration expires_from_now(
    const implementation_type & impl) const;
  » more...

Set the expiry time for the timer relative to now.

std::size_t expires_from_now(
    implementation_type & impl,
    const duration & expiry_time,
    asio::error_code & ec);
  » more...

PrevUpHomeNext