D DaniGP Member Licensed User Longtime User Mar 13, 2013 #1 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?
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?
agraham Expert Licensed User Longtime User Mar 13, 2013 #2 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 Upvote 0
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
D DaniGP Member Licensed User Longtime User Mar 13, 2013 #3 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.... Upvote 0
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....
agraham Expert Licensed User Longtime User Mar 13, 2013 #4 No, I don't. There may be an easy way but I'm not too good on networking. Upvote 0