socket resolvehost

Rusty

Well-Known Member
Licensed User
Longtime User
I'm trying to resolve the TCP socket host via the resolvehost method.
I provide resolvehost with a string of what I think my host "name" is like "myserver".
it is supposed to return the IP address of the host, however, it returns a message that it can't find the hostname"
unable to resolve host "myserver": no address associated with hostname
Is there a way to find the "actual" host name of any servers, so I can properly format/specify the server name as the Android sees it?
Thanks,
 
Top