mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add Discovery and Wakeup for PS5
This commit is contained in:
parent
65add80ec6
commit
8904c86a6d
9 changed files with 42 additions and 19 deletions
|
@ -63,7 +63,6 @@ void DiscoveryManager::SetService(bool enable)
|
|||
|
||||
sockaddr_in addr = {};
|
||||
addr.sin_family = AF_INET;
|
||||
addr.sin_port = htons(CHIAKI_DISCOVERY_PORT);
|
||||
addr.sin_addr.s_addr = GetIPv4BroadcastAddr();
|
||||
options.send_addr = reinterpret_cast<sockaddr *>(&addr);
|
||||
options.send_addr_size = sizeof(addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue