3 正如你所提供给你的.NET框架(你幸运的事情),为什么不使用: IPHostEntry^ hostInfo = Dns::GetHostByName("www.blah.com"); 这是System::Net命名空间。 来源 2010-02-20 21:09:57