How to get the ip address of the local machine?? provided we have the host name.