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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.