IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QDnsHostAddressRecord Class

The QDnsHostAddressRecord class stores information about a host address record.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QDnsHostAddressRecord Class▲

  • Header: QDnsHostAddressRecord

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Network)

    target_link_libraries(mytarget PRIVATE Qt6::Network)

  • qmake: QT += network

  • Group: QDnsHostAddressRecord is part of Network Programming API, shared

Detailed Description▲

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

See Also▲

See also QDnsLookup

Member Function Documentation▲

 

QDnsHostAddressRecord::QDnsHostAddressRecord()▲

Constructs an empty host address record object.

QDnsHostAddressRecord::QDnsHostAddressRecord(const QDnsHostAddressRecord &other)▲

Constructs a copy of other.

QDnsHostAddressRecord::~QDnsHostAddressRecord()▲

Destroys a host address record.

QString QDnsHostAddressRecord::name() const▲

Returns the name for this record.

void QDnsHostAddressRecord::swap(QDnsHostAddressRecord &other)▲

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

quint32 QDnsHostAddressRecord::timeToLive() const▲

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

QHostAddress QDnsHostAddressRecord::value() const▲

Returns the value for this host address record.

QDnsHostAddressRecord &QDnsHostAddressRecord::operator=(const QDnsHostAddressRecord &other)▲

Assigns the data of the other object to this record object, and returns a reference to it.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+