8#include <private/qsystemlibrary_p.h>
19#define NI_MAXHOST 1024
28#if defined(QHOSTINFO_DEBUG)
29 qDebug(
"QHostInfoAgent::fromName(%s) looking up...",
34 if (
address.setAddress(hostName))
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
The QHostAddress class provides an IP address.
static QHostInfo lookup(const QString &hostName)
static QHostInfo reverseLookup(const QHostAddress &address)
static QHostInfo fromName(const QString &hostName)
The QHostInfo class provides static functions for host name lookups.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QByteArray toLatin1() const &
static QString machineHostName()
Combined button and popup list for selecting options.
GLuint GLuint64EXT address