XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
777 stars 47 forks source link

Fixed WOL by sending magic packet to broadcast address #96

Closed gaaat98 closed 1 year ago

gaaat98 commented 1 year ago

Referring to issue #71, now use libnx api to get IP and subnet mask of the console in order to calculate the network's broadcast address for the WOL magic packet. The packet now reaches the destination and wakes up my server. Also added logging for this address

XITRIX commented 1 year ago

Thanks a lot for your contribution!