Unfortunately C++ is definately not my language, I know VB.NET so I understand basics.. But nothing crazy.
That being said, the only thing that needs to be changed is (psuedocode):
- server = blank.com (in config)
Program:
server = blank.com
get ip blank.com (it already does this as you'll notice the IP address shows up in the console even if you put in a domain name).
so once it gets ip, it renames server to server = getip(ipaddress)
then proceeds with connection? I dunno, it makes almost no sense why it wouldn't work as is right now though... DNS translation is designed to make IP addresses into names, so its just going the opposite way, essentially, the IP address = the name.
Haha nevermind, fixed:
http://forums.dspt.info/viewtopic.php?f ... 3828#p3783