ot::Dns::SrvRecord::Init() method
Initializes the SRV Resource Record by settings its type and class. Other record fields (TTL, length, propriety, weight, port, ...) remain unchanged/uninitialized.
Arguments
aClass
The class of the resource record (default is `kClassInternet`).
ot::Dns::SrvRecord::Init() is called by 2 functions and calls 1 function:
![]()
ot::Dns::SrvRecord::Init()
ot::Dns::SrvRecord::Init() reads 2 variables:
![]()
ot::Dns::SrvRecord::Init()