Use moonlight-stream.org instead of google.com to avoid issues in China

This commit is contained in:
Cameron Gutman 2019-01-04 19:18:01 -08:00
parent cd4adae22b
commit 18b704b85a
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ bool getHopsIP4(IN_ADDR* hopAddress, int* hopAddressCount)
char replyBuffer[128];
};
host = gethostbyname("google.com");
host = gethostbyname("moonlight-stream.org");
if (host == nullptr) {
printf("gethostbyname() failed: %d\n", WSAGetLastError());
return false;

View File

@ -324,7 +324,7 @@ bool FindLocalInterfaceIP4Address(PSOCKADDR_IN addr)
printf("Finding local IP address...");
host = gethostbyname("google.com");
host = gethostbyname("moonlight-stream.org");
if (host == nullptr) {
printf("gethostbyname() failed: %d\n", WSAGetLastError());
return false;