|
I don't understand your question. Do you mean TCP/IP hostname? or some Windows naming system?
In general, TCP/IP host name <==> IP mapping is handled by DNS
There is a getHostByName() function in the main Java libraries.
These names are generally static and work whether or not the other computer is up, accepting connections, etc.
|