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 PySide2.QtNetwork.QDnsHostAddressRecord露

PySide2.QtNetwork.QDnsHostAddressRecord(other)

param other:

PySide2.QtNetwork.QDnsHostAddressRecord

Constructs an empty host address record object.

Constructs a copy of other .

PySide2.QtNetwork.QDnsHostAddressRecord.name()露
Return type:

str

Returns the name for this record.

PySide2.QtNetwork.QDnsHostAddressRecord.swap(other)露
Parameters:

other 鈥� PySide2.QtNetwork.QDnsHostAddressRecord

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

PySide2.QtNetwork.QDnsHostAddressRecord.timeToLive()露
Return type:

int

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

PySide2.QtNetwork.QDnsHostAddressRecord.value()露
Return type:

PySide2.QtNetwork.QHostAddress

Returns the value for this host address record.