Re: QHostInfo usefullness
It could take some time to test all the addresses...
Can't you just let the user input the IP he/she wants for the system?
Re: QHostInfo usefullness
I guess i could but the problem would be if the address is used by the other system so when my app runs it will ping two systems...and so there will be confusion.
baray98
Re: QHostInfo usefullness
Quote:
Originally Posted by
baray98
I guess i could but the problem would be if the address is used by the other system so when my app runs it will ping two systems...and so there will be confusion.
baray98
Oh, so your application will be run by plain users... In this case you can go with your solution and add a non-finishing progress bar, so the user sees something while the IP's are being looked up.
Re: QHostInfo usefullness
Quote:
Originally Posted by
baray98
I guess i could but the problem would be if the address is used by the other system so when my app runs it will ping two systems...and so there will be confusion.
Why not keep a shared database of addresses which are currently used in the network and just ask the database for an unused address? That's how dhcp servers work.