AnyPS5/core/libs
jdmagic d5805fb3e4 fix(libkernel): setsockopt sets options of libSceNet sockets
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>
2026-10-11 19:23:24 -04:00
..
nid feat(nid): patch NIDs in Mach-O libraries 2026-10-09 15:40:29 +03:00
prx fix(libkernel): setsockopt sets options of libSceNet sockets 2026-10-11 19:23:24 -04:00
tests fix(libkernel): setsockopt sets options of libSceNet sockets 2026-10-11 19:23:24 -04:00
CMakeLists.txt Merge pull request #3823 from xXPBSXx/fix/rudp-exports-ppsa03490-v3 2026-10-12 00:07:39 +02:00
HitLog.hpp
…
SceShaders.hpp
…
SceTypes.hpp Merge pull request #3876 from CnRJay/feat/savedata-convert 2026-10-12 00:43:58 +02:00