[SDL] Expanding IP addresses with SDL_net?
James Buchwald
jamestheprogrammer at gmail.com
Mon Jul 2 12:31:23 PDT 2007
So far, I've been using the SDLNet_ResolveIP(IPaddress*) function to convert
IP addresses to something I can display in error messages. However, I've
noticed that it resolves all the way to hostname. I just want the IP
address, for things like IP range ban. Besides, I imagine it probably uses
extra bandwidth to resolve all the way to the hostname... What would be the
easiest (and fastest) method of resolving IP addresses?
--
"If you see somebody who you don't know getting into a crop duster that
doesn't belong to you, report them." -- President George W. Bush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070702/36514bb4/attachment.htm
More information about the SDL
mailing list