asio C++ library

PrevUpHomeNext

deadline_timer_service::expires_from_now

Get the expiry time for the timer relative to now.

duration_type 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_type & expiry_time,
    asio::error_code & ec);
  » more...

PrevUpHomeNext