Using C++/CLI, I would like to resolve a host IP from the URL. How can I accomplish this?
+3
A:
As you have the .NET framework available to you (you lucky thing), why not use:
IPHostEntry^ hostInfo = Dns::GetHostByName("www.blah.com");
This is in the System::Net
namespace.
Daniel Earwicker
2010-02-20 21:09:57