cydside
6th November 2010, 08:52
Hi to all,
I'm parsing all the network interfaces using the following example code:
foreach (const QNetworkInterface &ni, QNetworkInterface::allInterfaces()) {
qDebug() << ni.hardwareAddress();
qDebug() << ni.name();
qDebug() << ni.index();
}
but It seems impossible to get know what is the interface.
Need help!!!
Thanks
I'm parsing all the network interfaces using the following example code:
foreach (const QNetworkInterface &ni, QNetworkInterface::allInterfaces()) {
qDebug() << ni.hardwareAddress();
qDebug() << ni.name();
qDebug() << ni.index();
}
but It seems impossible to get know what is the interface.
Need help!!!
Thanks