There is no API to get the client hostname. I recommend doing the gethostbyaddr_r directly as any API would simply be a wrapper around that.
Monday, August 8, 2011, 4:26:40 AM, you wrote: > Hi, > Is it possible using the API to obtain the client's host name - i.e. a > reverse DNS lookup? If not I guess it is safe to use gethostbyaddr_r to look > it up from the client's IP address. > Thank-you, > Chris Reynolds.