2010-02-20 159 views

回答

3

正如你所提供给你的.NET框架(你幸运的事情),为什么不使用:

IPHostEntry^ hostInfo = Dns::GetHostByName("www.blah.com"); 

这是System::Net命名空间。