I am looking for a way to supply an IP address and get returned the name. I have used gethostbyname to do it the other way around. I just cant fisure out how to do it IP --> HostName