A libSceNet socket is a kernel descriptor on the console, so titles close it with close(). libSceNet keeps its sockets in its own table, and libkernel's close passed their numbers to the CRT, which reported an invalid parameter and left the socket open. libSceNet now registers a closer with libkernel, as it registers its poller for select. PPSA01289 (Sackboy: A Big Adventure) closes its P2P socket this way each time it tears its network session down, leaking one open socket per attempt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||