From 6f2041dfb659e70df7d038b8bcc4e2c004b606ad Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 9 Aug 2020 14:48:27 -0700 Subject: [PATCH] Sync WoL ports with Android and Qt --- Limelight/Network/WakeOnLanManager.m | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Limelight/Network/WakeOnLanManager.m b/Limelight/Network/WakeOnLanManager.m index afb2a724..8801e84f 100644 --- a/Limelight/Network/WakeOnLanManager.m +++ b/Limelight/Network/WakeOnLanManager.m @@ -16,8 +16,12 @@ @implementation WakeOnLanManager -static const int numPorts = 5; -static const int ports[numPorts] = {7, 9, 47998, 47999, 48000}; +static const int numPorts = 7; +static const int ports[numPorts] = { + 9, // Standard WOL port (privileged port) + 47998, 47999, 48000, 48002, 48010, // Ports opened by GFE + 47009, // Port opened by Moonlight Internet Hosting Tool for WoL (non-privileged port) +}; + (void) populateAddress:(struct sockaddr_storage*)addr withPort:(unsigned short)port { if (addr->ss_family == AF_INET) {