I need to resolve hostnames using IP address. I have tried various options and nothing has worked. By GetHostName() returns the IP but not return the computer name. I read that with the library JCIFS can access the NetBIOS name of the remote machine. It's what I need. But I can't find anywhere the complete library, I have the jcifs.jar but I don't have the jcifs.xml. Anybody can help me?
You can't directly use that jcifs.jar in Basic4android. It needs a wrapper library to make its functionality available. There is already a wrapper library here but I'm afraid it doesn't expose very much of the full JCIFS functionality
Thanks. You know any other way to get the hostname of one IP address?
I tried GetHostName(), nslookup and ping and it only return IP address, but not the machine name I think by netbios....