Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get network statistics using Qt
-
Hello!
I want to get the network adapter statistics. For example, I want to get how many bytes have been received/sent and current download/upload speed on specific Ethernet or wireless card adapter.
For example:
Is there any class in
Qt
which could provide such information or should I use the platform specific methods in my case it isWindows
? Thanks.
-
Hi,
No there's not, it's outside of Qt's scope. You'll have to use native API for that.
-
Ok. I will use the
Win API
orWinPcap
lib. Thank you.