ot::Srp::Client::SetTtl() method
Sets the TTL used in SRP update requests. Changing the TTL does not impact the TTL of already registered services/host-info. It only changes any future SRP update messages (i.e adding new services and/or refreshes of existing services).
Syntax
void SetTtl(uint32_t aTtl); Arguments
aTtl
The TTL (in seconds). If value is zero or greater than lease interval, the TTL is set to the lease interval.
ot::Srp::Client::SetTtl() writes 1 variable:
![]()
ot::Srp::Client::SetTtl()