getCanonicalHostName on Windows
Max (Weijun) Wang
Weijun.Wang at Sun.COM
Tue Mar 4 06:09:14 PST 2008
I have a Windows domain called n3.local, and a server called k1 in
the domain, and a client. When I call the line --
from the client, the returned string is "k1". How can I get
"k1.n3.local"? Is there anything wrong with my Windows configuration?
Or, I should use another Java method?
More information about the net-dev