QDnsHostAddressRecord

The QDnsHostAddressRecord class stores information about a host address record. More

Inheritance diagram of PySide2.QtNetwork.QDnsHostAddressRecord

Synopsis

Functions

Detailed Description

When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord instance.

See also

QDnsLookup

class QDnsHostAddressRecord

QDnsHostAddressRecord(other)

param other

QDnsHostAddressRecord

Constructs an empty host address record object.

Constructs a copy of other .

PySide2.QtNetwork.QDnsHostAddressRecord.name()
Return type

unicode

Returns the name for this record.

PySide2.QtNetwork.QDnsHostAddressRecord.swap(other)
Parameters

otherQDnsHostAddressRecord

Swaps this host address record instance with other . This function is very fast and never fails.

PySide2.QtNetwork.QDnsHostAddressRecord.timeToLive()
Return type

quint32

Returns the duration in seconds for which this record is valid.

PySide2.QtNetwork.QDnsHostAddressRecord.value()
Return type

QHostAddress

Returns the value for this host address record.