mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-06-18 14:41:04 +00:00
Use stun.moonlight-stream.org for STUN
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ bool getExternalAddressPortIP4(int proto, unsigned short localPort, PSOCKADDR_IN
|
|||||||
char buf[1024];
|
char buf[1024];
|
||||||
} resp;
|
} resp;
|
||||||
|
|
||||||
host = gethostbyname("stun.stunprotocol.org");
|
host = gethostbyname("stun.moonlight-stream.org");
|
||||||
if (host == nullptr) {
|
if (host == nullptr) {
|
||||||
printf("gethostbyname() failed: %d\n", WSAGetLastError());
|
printf("gethostbyname() failed: %d\n", WSAGetLastError());
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user