SXXXXXXX_PyBusMonitor1553/cpp/GrifoScope/QgScope/qgnetworkinterface.h
2025-12-17 07:59:30 +01:00

29 lines
633 B
C++

#ifndef QGNETWORKINTERFACE_H
#define QGNETWORKINTERFACE_H
#include <QHostAddress>
class QgNetworkInterface
{
public:
static void initializeDefaultInterface();
static void setNetworkInterface(const QHostAddress& adr);
static QHostAddress networkInterface();
static QHostAddress networkBroadcast();
static QString networkIP();
static void setNetworkIP(const QString& str);
static unsigned int networkMTU();
static void setNetworkMTU(unsigned int);
static unsigned int networkUdpMTU();
static QString hostName();
static unsigned int adapterIndex();
};
#endif // QGNETWORKINTERFACE_H