mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 23:35:27 +00:00
Add console progress messages to MIST
This commit is contained in:
parent
5d0b834efe
commit
fe4d895d88
@ -640,8 +640,6 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
WSADATA wsaData;
|
WSADATA wsaData;
|
||||||
|
|
||||||
printf("Testing GameStream configuration...\n");
|
|
||||||
|
|
||||||
char tempPath[MAX_PATH + 1];
|
char tempPath[MAX_PATH + 1];
|
||||||
GetTempPathA(sizeof(tempPath), tempPath);
|
GetTempPathA(sizeof(tempPath), tempPath);
|
||||||
|
|
||||||
@ -654,6 +652,8 @@ int main(int argc, char* argv[])
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "Checking if GameStream is enabled...\n");
|
||||||
|
|
||||||
// First check if GameStream is enabled
|
// First check if GameStream is enabled
|
||||||
if (!IsGameStreamEnabled()) {
|
if (!IsGameStreamEnabled()) {
|
||||||
return -1;
|
return -1;
|
||||||
@ -666,6 +666,8 @@ int main(int argc, char* argv[])
|
|||||||
};
|
};
|
||||||
char msgBuf[2048];
|
char msgBuf[2048];
|
||||||
|
|
||||||
|
fprintf(stderr, "Testing local GameStream connectivity...\n");
|
||||||
|
|
||||||
// Try to connect via IPv4 loopback
|
// Try to connect via IPv4 loopback
|
||||||
ss = {};
|
ss = {};
|
||||||
sin.sin_family = AF_INET;
|
sin.sin_family = AF_INET;
|
||||||
@ -683,6 +685,8 @@ int main(int argc, char* argv[])
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "Testing network GameStream connectivity...\n");
|
||||||
|
|
||||||
// Try to connect via LAN IPv4 address
|
// Try to connect via LAN IPv4 address
|
||||||
printf("Testing GameStream ports via local network\n");
|
printf("Testing GameStream ports via local network\n");
|
||||||
if (!TestAllPorts(&ss,
|
if (!TestAllPorts(&ss,
|
||||||
@ -692,11 +696,15 @@ int main(int argc, char* argv[])
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "Detecting public IP address...\n");
|
||||||
|
|
||||||
bool upnpRulesFound;
|
bool upnpRulesFound;
|
||||||
if (!CheckWANAccess(&sin, &upnpRulesFound)) {
|
if (!CheckWANAccess(&sin, &upnpRulesFound)) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "Testing Internet GameStream connectivity...\n");
|
||||||
|
|
||||||
// Try to connect via WAN IPv4 address
|
// Try to connect via WAN IPv4 address
|
||||||
printf("Testing GameStream ports via WAN address\n");
|
printf("Testing GameStream ports via WAN address\n");
|
||||||
if (!TestAllPorts(&ss,
|
if (!TestAllPorts(&ss,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user