Hi,
The Gethostbyname function resolves a hostname to an ip address. Is there a function available to convert an ip address to a hostname?
Thanks,
Alex
if WsaStartup()=0
cServerName := "mail.infovia.com.ar"
cServerIP := GetHostByName(cServerName)
WsaCleanup()
else
Some kind of error
endif
AlexSchaft wrote:Hi,
That's the one I know. I'm looking for something that will return cServer from cServerIP. I've been looking at getaddrinfo on MSDN but haven't tackled it yet
Alex
RF wrote:Enrico:
Now I just wondering, what this function will return, if several domains are pointing to the same IP Address, for example with the hosting companies, they used to have a single IP and many domains hosted on them. At least is what happen to us ?
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 94 guests