Help!!!
I have been coding a distributed application using java rmi. Up until now everything has been going smoothly. Until I tried my software on windows XP. The line InetAddress.getLocalHost().getByName() produces a String object that represents the computers netbios name.
Has anybody encountered this before? And does anybody know of a solution? I really need the computers hostname (the one assigned by the DNS server).
Thank you in advance.
Peter Green
I have been coding a distributed application using java rmi. Up until now everything has been going smoothly. Until I tried my software on windows XP. The line InetAddress.getLocalHost().getByName() produces a String object that represents the computers netbios name.
Has anybody encountered this before? And does anybody know of a solution? I really need the computers hostname (the one assigned by the DNS server).
Thank you in advance.
Peter Green