The QDnsHostAddressRecord class stores information about a host address record. More...
| Header: | #include <QDnsHostAddressRecord>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Network)target_link_libraries(mytarget PRIVATE Qt6::Network)
|
| qmake: | QT += network
|
| QDnsHostAddressRecord() | |
| QDnsHostAddressRecord(const QDnsHostAddressRecord &other) | |
| ~QDnsHostAddressRecord() | |
| QString | name() const |
| void | swap(QDnsHostAddressRecord &other) |
| quint32 | timeToLive() const |
| QHostAddress | value() const |
| QDnsHostAddressRecord & | operator=(const QDnsHostAddressRecord &other) |
When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord instance.
See also QDnsLookup.
Constructs an empty host address record object.
Constructs a copy of other.
[noexcept] QDnsHostAddressRecord::~QDnsHostAddressRecord()
Destroys a host address record.
Returns the name for this record.
[noexcept] void QDnsHostAddressRecord::swap(QDnsHostAddressRecord &other)
Swaps this host address record instance with other. This operation is very fast and never fails.
Returns the duration in seconds for which this record is valid.
Returns the value for this host address record.
Assigns the data of the other object to this record object, and returns a reference to it.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qdnshostaddressrecord.html