I wrote a simple server-client software that runs on a local network /24 (255.255.255.0)and I don't know how to find the ip address when it changes.
The ip address of the server is not static.
I can't save the mac address and then retrieve the ip address from the arp table because it will run on different machines.
The only way for clients to find the correct ip address is to try the whole range until the connection gets accepted?