Network host information
-
Hi. I am developing a network analyzer with Qt and Pcap. I have already managed to get the ip address and netmask from Pcap, but there are other information that I need, but haven't yet:
- local DNS address
- local gateway
- local NIC mac address
- local DHCP address
I know that I can get all this information with Winsock, but I want to make a multi-plataform software. Is there a way to get this information with the Qt?
-
http://qt-project.org/doc/qt-4.8/qtnetwork.html
especially:
QHostAddress
QHostInfo
QNetworkAddressEntry
QNetworkConfiguration