Resolve an IP address to a host name in canonical form.
Defined in <SDL_net.h>
const char * SDLNet_ResolveIP(const IPaddress *ip);
const IPaddress * | ip | the IP address to resolve into a hostname. |
If the IP couldn't be resolved, this function returns NULL, otherwise a pointer to a static buffer containing the hostname is returned.
Warning: This function is not thread-safe!
This function is available since SDL_net 2.0.0.