A title creating a socket with sceNetSocket sets its options with the BSD setsockopt, which looked the descriptor up only among libkernel's own sockets and returned EBADF. libSceNet now registers an option setter with libkernel, as it does for close and select, and accepts SO_REUSEADDR, SO_BROADCAST, SO_SNDBUF and SO_RCVBUF like libkernel's own sockets. PPSA01289 (Sackboy: A Big Adventure) sets SO_BROADCAST on its UDP P2P socket this way in UIpNetDriver::InitBase. The failure made every listen fail, and the engine travelled back to its default map with ?closed, reloading it about every two seconds behind the loading screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| nid | ||
| prx | ||
| tests | ||
| CMakeLists.txt | ||
| HitLog.hpp | ||
| SceShaders.hpp | ||
| SceTypes.hpp | ||