Android Question How to get Local IP Address from Computer Name ?

Rajesh Gupta

Member
Licensed User
Dear All

Suppose my computer name is "Utkarsh", and i need to get my Local Ip address using my computer name i.e "Utkarsh".

Is there any way ?

Thanks
 

warwound

Expert
Licensed User
Longtime User
Thanks for the help, but i am not quite getting it..
Simply my question is I want to enter my computer's HostName i.e "Dotnet" and the B4a program should resolveits Local IP Address i.e "192.168.0.44"

jmDNS will reolve a .local address to a numeric IP address.
So you need to have the Bonjour service installed on the computer that you want to connect to.
Without Bonjour the jmDNS library is of no use whatsoever.
 
Upvote 0
Top