DtlsPeerState.isIdle

bool isIdle(Duration timeout) const @safe nothrow @nogc

Check if the peer connection is idle.

Parameters

timeoutMaximum allowed idle duration.

Returns

true if the time since last activity exceeds the timeout.