这种方法会在我的MacOS(Windows10.12.1,Unity5.5.0f3)上导致运行时错误,但在朋友的Windows机(Win10,Unity5.5.0f3)上不会。错误是: SocketException:未知这样的主机,System.Net.Dns.GetHostByName (System.String hostName)foreach (IPAddress ip in Dns.GetHostEntry(Dns.GetHostName()).AddressList) {
Dns<