Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt - How can know if an IP is being used by a device?



  • Hello all!

    I am developing a program with Qt and I need to know if an IP is being used by a PC. How can I check the IP addresses that are being used in my network?

    Thanks


  • Moderators

    Unfortunately there is no reliable way to find all devices connected to a network.

    What you can try is to use a service discovery framework like mdns to find other devices on the local network.


Log in to reply