A solution I made (for fun if you believe it...) is this: I knew all the IPs on our network were in a particular range, so i just looped through that range trying to open a socket to each IP. If a connection is accepted it is sometimes possible to get machine names. I needed this cos I had a machine ...
I don't really understand what the problem is. Nor do I understand why you think you will be able to do something in Java to change it. I mean the OS is doing the name resolution and depending on how you connect to the network gives different results. That is not unexpected. So.... ?
Can you help me to extract IP v4 format from a byte array? I have an array of bytes, (I even have a function that converts it to an integer) but I'd like to get aaa.bbb.ccc.ddd representation out of it... Please help if you can. Thanks Much, Message was edited by: choghok