Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

basic_socket_streambuf::expires_from_now (1 of 2 overloads)

(Deprecated: Use expiry().) Get the stream buffer's expiry time relative to now.

duration expires_from_now() const;
Return Value

A relative time value representing the stream buffer's expiry time.