#ifndef QGNETWORKINTERFACE_H #define QGNETWORKINTERFACE_H #include 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