Init()
Initializes the SRV Resource Record by settings its type and class. Other record fields (TTL, length, propriety, weight, port, ...) remain unchanged/uninitialized.
GetPriority() const
Returns the SRV record's priority value.
SetPriority()
Sets the SRV record's priority value.
GetWeight() const
Returns the SRV record's weight value.
SetWeight()
Sets the SRV record's weight value.
GetPort() const
Returns the SRV record's port number on the target host for this service.
SetPort()
Sets the SRV record's port number on the target host for this service.
ReadTargetHostName() const
Parses and reads the SRV target host name from a message. Also verifies that the SRV record is well-formed (e.g., the record data length `GetLength()` matches the SRV encoded name).
ReadTargetHostName() const
Parses and reads the SRV target host name from a message. Also verifies that the SRV record is well-formed (e.g., the record data length `GetLength()` matches the SRV encoded name).