Hi friends:
When start a client, the DNS name or the IP
address of server is needed. (and I think they are just the hostname for RMI, is it right?), if the server can display it's DNS name or IP address after it start, the
testing of client will be convenience.
Is there any method in
Java can display the DNS name or IP address of the machine which the application is running on?