I'm creating a client/server application that should work on LAN.
First with RMI the user register their i dont know what(IP?), this is the question :)
After that i create a ServerSocket and waiting for accept().
Now the client(or better, the server..that have the registered user) want to establish an connection but... what if the IP Address was changed ?
There is a way to "register something" on the server that if the IP change all continue to work?
I try to explain it better: i cant register an IP address and later connect on it, because if the IP change i lost the reference. I would like to register "something" that is idipendente from the IP.
Hope you have understand my question..