2010-02-20 47 views

回答

3

正如你所提供給你的.NET框架(你幸運的事情),爲什麼不使用:

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

這是System::Net命名空間。