fix(libSceNet): read SO_RCVTIMEO and SO_SNDTIMEO as a timeval in sceNetSetsockopt #5967

Merged
EagleBearerYS merged 2 commits from upstream-pr/5967 into main 2026-10-17 04:53:19 +00:00
EagleBearerYS commented 2026-10-14 17:23:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-14T17:23:59Z.


What

sceNetSetsockopt took the BSD timeout options, SO_SNDTIMEO (0x1005) and SO_RCVTIMEO (0x1006), like Sony's 0x1105 and 0x1106: as an int of microseconds read from the first four bytes. A caller passing a struct timeval got tv_sec taken as microseconds. So {0, 100000}, meant to wait 100 ms, became 0, which disables the timeout, and the receive blocked until data came.

On the console, 0x1006 takes a timeval, as FreeBSD 11.4's sosetopt does:

  • ProsperoLight (PPSA99002) passes BSD socket calls through to libSceNet (platform/ps5/ps5_sockets.c L194-197). It gives 0x1006 a {0, 100000} timeval for Moonlight's video and audio receives (moonlight-common-c PlatformSockets.c L72-93).
  • Its debug log from a console (01.000.100, firmware 12.20) has "Received first video packet after 400 ms" and, in a second session, "after 700 ms". Moonlight adds 100 ms to that count only when a receive times out (VideoStream.c). With an int reading the timeout would have been 0 and the count "0 ms".
  • Sony moved only the two options whose FreeBSD argument is a timeval to 0x1105 and 0x1106, as ints of microseconds. Its other socket options keep FreeBSD's numbers.

#4371 kept the int reading for 0x1006 in sceNetSetsockopt, as it had been, while making setsockopt() on a libSceNet socket take a timeval. This change sends 0x1005 and 0x1006 in sceNetSetsockopt through that same timeval path:

  • EINVAL for a value shorter than a timeval, EDOM for a negative or out-of-range one;
  • sceNetGetsockopt gives them back as a timeval cut to the caller's length, as FreeBSD's sooptcopyout does;
  • 0x1105 and 0x1106 keep taking an int of microseconds.

The second commit records the formats in docs/dev/debt/libSceNet.md. The errors and the cut follow FreeBSD and aren't measured on a console.

What the titles do on main:

  • ProsperoLight (PPSA99002): its video and audio receive threads never time out. LiStopConnection joins them before closing their sockets (AudioStream.c L409-416, VideoStream.c L289-311). So when a session ends from the PC side, or the user stops while the PC sends nothing, the stream screen freezes and the app never returns to its launcher.
  • Steam-Link-PS5 (PPSA99350, homebrew): it sets {0, 10000} the same way (ihslib client.c L238-L241). When the PC doesn't answer a stream request, the worker never wakes to see its stop flag, so the app stays on "THE PC DID NOT ANSWER".

Related: #4371; #5617 adds the same two options to libkernel's own sockets, the ones from socket(). The two changes touch different files.

Tested

On GitHub's runners from my fork, on main at a453108cf (run):

  • Linux: Ubuntu 24.04.5, GCC 13.3.0, Release with CI's configure flags and -DANYPS5_ENABLE_SPIRV_TOOLS=ON.
  • Windows: Windows Server 2025, WinLibs MinGW-w64 GCC 15.2.0 r7 (UCRT), Release with CI's configure flags.

guest_sce_net:

  • sets 0x1006 to {0, 50000} through sceNetSetsockopt, reads 50000 back through 0x1106, and checks that sceNetRecv, sceNetRecvfrom and sceNetRecvmsg fail with EAGAIN;
  • checks EINVAL for a 4-byte value and EDOM for {0, 1000000} and {-1, 0}, all leaving the timeouts unchanged;
  • reads the timeval back through 0x1006, also cut to 4 bytes;
  • checks that 0x1106 still takes an int of microseconds.

Results:

  • With main's Export.cpp the test aborts on both, because 0x1006 still takes the first four bytes as microseconds.
  • With the change it passes 20 runs in a row on Linux and Windows.
  • On both, every test registered under core/libs/prx/libc and core/libs/prx/libkernel passes: 71 and 136 on Linux, 93 and 140 on Windows.
  • tools/check_conventions.py --base origin/main passes for both commits.
  • The full Build workflow's Windows job, with this branch merged into main at e34c47921: 1198 of 1198 tests pass (run).
  • Not tested: macOS; ProsperoLight, since it needs a PC host to stream from.

Steam-Link-PS5 (PPSA99350, homebrew, 1.0.0) on Windows 11 Home 10.0.26300, RTX 3070 Laptop (driver 617.42), Ryzen 9 5900HS, 15.4 GB RAM:

  • Built from main at a453108cf with #5966, once without this change and once with it. Without #5966 the title finds no PC on Windows at all.
  • The PC is a local stand-in on UDP 27036: a script that answers the title's discovery broadcast with a status message, as Steam does, and never answers its stream request.
    • Steam itself can't play that part on the same PC. Once it quits, Windows answers the request with port unreachable, and Winsock's WSAECONNRESET on the next receive ends the worker by itself, which hides the hang.
    • The title finds the stand-in, Cross requests a stream, and the request times out about 15 s later.
  • Without this change, nothing follows for the remaining 108 s of the run, and no second discovery broadcast reaches the stand-in. The worker never wakes from its receive, so the app's IHS_ClientThreadedJoin never returns:
[SLP5]     4s state: REQUESTING STREAM
[SLP5]    22s streaming request failed: -1
[SLP5]    22s state: THE PC DID NOT ANSWER
  • With it, the client ends and a new one finds the stand-in again:
[SLP5]    19s streaming request failed: -1
[SLP5]    19s state: THE PC DID NOT ANSWER
[SLP5]    20s state: LOOKING FOR A PC RUNNING STEAM
[SLP5]    20s discovered STAND-IN at 169.254.30.114:27036

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA99002 (ProsperoLight: the stream screen no longer freezes when a session ends), PPSA99350 (Steam-Link-PS5, homebrew)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4861745463 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-14T17:23:59Z. --- ### What `sceNetSetsockopt` took the BSD timeout options, `SO_SNDTIMEO` (0x1005) and `SO_RCVTIMEO` (0x1006), like Sony's 0x1105 and 0x1106: as an `int` of microseconds read from the first four bytes. A caller passing a `struct timeval` got `tv_sec` taken as microseconds. So `{0, 100000}`, meant to wait 100 ms, became 0, which disables the timeout, and the receive blocked until data came. On the console, 0x1006 takes a `timeval`, as FreeBSD 11.4's [`sosetopt`](https://github.com/freebsd/freebsd-src/blob/d106002967eff712894ab8b5337bbbff106ce5e0/sys/kern/uipc_socket.c#L2657-L2690) does: - ProsperoLight (PPSA99002) passes BSD socket calls through to libSceNet ([`platform/ps5/ps5_sockets.c` L194-197](https://github.com/blackbearreloaded/ProsperoLight/blob/136ac41b/platform/ps5/ps5_sockets.c#L194-L197)). It gives 0x1006 a `{0, 100000}` timeval for Moonlight's video and audio receives ([moonlight-common-c `PlatformSockets.c` L72-93](https://github.com/moonlight-stream/moonlight-common-c/blob/f900dd4/src/PlatformSockets.c#L72-L93)). - [Its debug log from a console](https://github.com/blackbearreloaded/ProsperoLight/issues/49) (01.000.100, firmware 12.20) has "Received first video packet after 400 ms" and, in a second session, "after 700 ms". Moonlight adds 100 ms to that count only when a receive times out ([`VideoStream.c`](https://github.com/moonlight-stream/moonlight-common-c/blob/f900dd4/src/VideoStream.c#L146-L150)). With an `int` reading the timeout would have been 0 and the count "0 ms". - Sony moved only the two options whose FreeBSD argument is a `timeval` to 0x1105 and 0x1106, as `int`s of microseconds. Its other socket options keep FreeBSD's numbers. #4371 kept the `int` reading for 0x1006 in `sceNetSetsockopt`, as it had been, while making `setsockopt()` on a libSceNet socket take a `timeval`. This change sends 0x1005 and 0x1006 in `sceNetSetsockopt` through that same `timeval` path: - `EINVAL` for a value shorter than a `timeval`, `EDOM` for a negative or out-of-range one; - `sceNetGetsockopt` gives them back as a `timeval` cut to the caller's length, as FreeBSD's `sooptcopyout` does; - 0x1105 and 0x1106 keep taking an `int` of microseconds. The second commit records the formats in `docs/dev/debt/libSceNet.md`. The errors and the cut follow FreeBSD and aren't measured on a console. What the titles do on `main`: - **ProsperoLight (PPSA99002):** its video and audio receive threads never time out. `LiStopConnection` joins them before closing their sockets ([`AudioStream.c` L409-416](https://github.com/moonlight-stream/moonlight-common-c/blob/f900dd4/src/AudioStream.c#L409-L416), [`VideoStream.c` L289-311](https://github.com/moonlight-stream/moonlight-common-c/blob/f900dd4/src/VideoStream.c#L289-L311)). So when a session ends from the PC side, or the user stops while the PC sends nothing, the stream screen freezes and the app never returns to its launcher. - **Steam-Link-PS5 (PPSA99350, homebrew):** it sets `{0, 10000}` the same way ([ihslib `client.c` L238-L241](https://github.com/scaronni/ihslib/blob/f68de5f07e0c27ccea9f47f9f5e38fd92c99919e/src/client/client.c#L238-L241)). When the PC doesn't answer a stream request, the worker never wakes to see its stop flag, so the app stays on "THE PC DID NOT ANSWER". Related: #4371; #5617 adds the same two options to libkernel's own sockets, the ones from `socket()`. The two changes touch different files. ### Tested On GitHub's runners from my fork, on `main` at a453108cf ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38591755931)): - Linux: Ubuntu 24.04.5, GCC 13.3.0, Release with CI's configure flags and `-DANYPS5_ENABLE_SPIRV_TOOLS=ON`. - Windows: Windows Server 2025, WinLibs MinGW-w64 GCC 15.2.0 r7 (UCRT), Release with CI's configure flags. `guest_sce_net`: - sets 0x1006 to `{0, 50000}` through `sceNetSetsockopt`, reads 50000 back through 0x1106, and checks that `sceNetRecv`, `sceNetRecvfrom` and `sceNetRecvmsg` fail with `EAGAIN`; - checks `EINVAL` for a 4-byte value and `EDOM` for `{0, 1000000}` and `{-1, 0}`, all leaving the timeouts unchanged; - reads the `timeval` back through 0x1006, also cut to 4 bytes; - checks that 0x1106 still takes an `int` of microseconds. Results: - With `main`'s `Export.cpp` the test aborts on both, because 0x1006 still takes the first four bytes as microseconds. - With the change it passes 20 runs in a row on Linux and Windows. - On both, every test registered under `core/libs/prx/libc` and `core/libs/prx/libkernel` passes: 71 and 136 on Linux, 93 and 140 on Windows. - `tools/check_conventions.py --base origin/main` passes for both commits. - The full Build workflow's Windows job, with this branch merged into `main` at e34c47921: 1198 of 1198 tests pass ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38600551901)). - Not tested: macOS; ProsperoLight, since it needs a PC host to stream from. Steam-Link-PS5 (PPSA99350, homebrew, 1.0.0) on Windows 11 Home 10.0.26300, RTX 3070 Laptop (driver 617.42), Ryzen 9 5900HS, 15.4 GB RAM: - Built from `main` at a453108cf with #5966, once without this change and once with it. Without #5966 the title finds no PC on Windows at all. - The PC is a local stand-in on UDP 27036: a script that answers the title's discovery broadcast with a status message, as Steam does, and never answers its stream request. - Steam itself can't play that part on the same PC. Once it quits, Windows answers the request with port unreachable, and Winsock's `WSAECONNRESET` on the next receive ends the worker by itself, which hides the hang. - The title finds the stand-in, Cross requests a stream, and the request times out about 15 s later. - Without this change, nothing follows for the remaining 108 s of the run, and no second discovery broadcast reaches the stand-in. The worker never wakes from its receive, so the app's [`IHS_ClientThreadedJoin`](https://github.com/jmelovich/Steam-Link-PS5/blob/ab1d8c0d28691b37200fd43f9a50eefc7a7e02de/src/main.cpp#L944) never returns: ``` [SLP5] 4s state: REQUESTING STREAM [SLP5] 22s streaming request failed: -1 [SLP5] 22s state: THE PC DID NOT ANSWER ``` - With it, the client ends and a new one finds the stand-in again: ``` [SLP5] 19s streaming request failed: -1 [SLP5] 19s state: THE PC DID NOT ANSWER [SLP5] 20s state: LOOKING FOR A PC RUNNING STEAM [SLP5] 20s discovered STAND-IN at 169.254.30.114:27036 ``` ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA99002 (ProsperoLight: the stream screen no longer freezes when a session ends), PPSA99350 (Steam-Link-PS5, homebrew) - [x] AI-assisted: yes
screamm commented 2026-10-15 02:00:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-15T02:00:25Z.


Cross-check on Windows: #5967 head 7f82da108 merged onto main 6239ceffc; the merge is clean, including over #5536's sceNetGetsockopt change.

Host: Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, NVIDIA RTX 4070 (Ryzen 7 5700X).

  • Build: full build (cmake --build build -- -k 0) and libs both succeed, with no new warnings.
  • Tests, guest_sce_net, --repeat until-fail:3: 3/3, plus 20/20 when run directly, on an idle host. Earlier, under heavy host load (other builds running), it aborted (0xc0000409) on the second run twice:
    • every abort was in CheckEmptyEpoll, which this PR does not touch;
    • the failures are consistent with that function's Windows-only check that the median of nine 1 ms sceNetEpollWait waits is under 8 ms;
    • with APS5_NO_TIMER_RESOLUTION=1, which skips that check, the PR's binary passed 20/20 under the same load;
    • in that loaded window, main's binary failed 8/20 at the same place and the PR's 6/20. So this is a load-sensitive flake on main, not a regression.
  • Suite, ctest -j8 --timeout 120 -E '^agc_driver_|^video_out_flip': 808 tests. 807 pass, including the 2 skipped, and guest_sce_net passed. conventions_function_bodies timed out under host load and passes alone.

ProsperoLight (PPSA99002). Catalog release, app0/eboot.bin staged, relinker --windows --registry unused-filter=0. 60 s per run with the display on, two alternating pairs.

run main this PR
1 running at 60 s, ProsperoLight | FPS: 1.85 (241) running at 60 s, ProsperoLight | FPS: 6.81 (391)
2 running at 60 s, ProsperoLight | FPS: 8.77 (467) running at 60 s, ProsperoLight | FPS: 8.40 (474)

All four reach the launcher. prosperolight-launcher.log has [PL] launcher: first frame after 3032-5853 ms, splash hidden=1 and [PL] update check: result=unknown ..., then the launcher keeps drawing frames. The first pair's gap is host load. No stop line with either build.

poll: descriptor 10 is neither a socket nor a pipe does not appear with either build. An earlier catalog run (main c2565f0, eboot staged) stopped with it. It went away on main itself, most likely through #4933 (fix(libkernel): poll libSceNet sockets with the host wait). This PR does not change it.

With no PC host to stream from, the launcher logs no socket activity. The sceNetSetsockopt path for 0x1005/0x1006 is imported (2mKX2Spso7I) but not reached in this run.

Verdict: build and guest_sce_net confirmed, and ProsperoLight behaves the same as on main (launcher, no stop). The streaming path the PR fixes cannot be exercised without a PC host.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6182667728 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6182667728). Originally posted by [screamm](https://github.com/screamm) on 2026-10-15T02:00:25Z. --- **Cross-check on Windows: #5967 head `7f82da108` merged onto `main` `6239ceffc`; the merge is clean, including over #5536's `sceNetGetsockopt` change.** Host: Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, NVIDIA RTX 4070 (Ryzen 7 5700X). - **Build:** full build (`cmake --build build -- -k 0`) and `libs` both succeed, with no new warnings. - **Tests, `guest_sce_net`, `--repeat until-fail:3`:** 3/3, plus 20/20 when run directly, on an idle host. Earlier, under heavy host load (other builds running), it aborted (`0xc0000409`) on the second run twice: - every abort was in `CheckEmptyEpoll`, which this PR does not touch; - the failures are consistent with that function's Windows-only check that the median of nine 1 ms `sceNetEpollWait` waits is under 8 ms; - with `APS5_NO_TIMER_RESOLUTION=1`, which skips that check, the PR's binary passed 20/20 under the same load; - in that loaded window, `main`'s binary failed 8/20 at the same place and the PR's 6/20. So this is a load-sensitive flake on `main`, not a regression. - **Suite, `ctest -j8 --timeout 120 -E '^agc_driver_|^video_out_flip'`:** 808 tests. 807 pass, including the 2 skipped, and `guest_sce_net` passed. `conventions_function_bodies` timed out under host load and passes alone. **ProsperoLight (PPSA99002).** Catalog release, `app0/eboot.bin` staged, `relinker --windows --registry unused-filter=0`. 60 s per run with the display on, two alternating pairs. | run | `main` | this PR | |---|---|---| | 1 | running at 60 s, `ProsperoLight \| FPS: 1.85 (241)` | running at 60 s, `ProsperoLight \| FPS: 6.81 (391)` | | 2 | running at 60 s, `ProsperoLight \| FPS: 8.77 (467)` | running at 60 s, `ProsperoLight \| FPS: 8.40 (474)` | All four reach the launcher. `prosperolight-launcher.log` has `[PL] launcher: first frame after 3032-5853 ms, splash hidden=1` and `[PL] update check: result=unknown ...`, then the launcher keeps drawing frames. The first pair's gap is host load. No stop line with either build. `poll: descriptor 10 is neither a socket nor a pipe` does not appear with either build. An earlier catalog run (`main` `c2565f0`, eboot staged) stopped with it. It went away on `main` itself, most likely through #4933 (`fix(libkernel): poll libSceNet sockets with the host wait`). This PR does not change it. With no PC host to stream from, the launcher logs no socket activity. The `sceNetSetsockopt` path for 0x1005/0x1006 is imported (`2mKX2Spso7I`) but not reached in this run. Verdict: build and `guest_sce_net` confirmed, and ProsperoLight behaves the same as on `main` (launcher, no stop). The streaming path the PR fixes cannot be exercised without a PC host. AI-assisted: yes (Claude Code)
EagleBearerYS commented 2026-10-15 02:05:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-15T02:05:31Z.


Thanks for the Windows cross-check, and for running down the guest_sce_net abort to the epoll timer check on main. You're right that ProsperoLight only reaches the fixed path when it streams from a PC host. The red/green in the description, guest_sce_net's new receive-timeout cases, is what covers it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6182735674 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6182735674). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-15T02:05:31Z. --- Thanks for the Windows cross-check, and for running down the `guest_sce_net` abort to the epoll timer check on `main`. You're right that ProsperoLight only reaches the fixed path when it streams from a PC host. The red/green in the description, `guest_sce_net`'s new receive-timeout cases, is what covers it.
Dextroid17 commented 2026-10-15 02:34:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-15T02:34:11Z.


I ran this PR's test on Linux, to go with screamm's Windows check above. This adds a run with the fix taken out.

Setup: this PR's diff applied to main at 8cd937e29 (the PR's base is 425 commits behind it), default CMake build (CMAKE_BUILD_TYPE empty, unoptimized), clean environment. ctest -R '^guest_sce_net$', 3 runs each. The test did not open a GPU device, so this is a CPU-only run.

  • with this PR: 3 of 3 pass.
  • with libSceNet/Export.cpp put back to main's version (the new test kept): 3 of 3 abort. The Require prints no message, so I took a backtrace of one more run under gdb: it stops in RequireTimeout (changed by this PR), called from CheckKernelTimeouts.

So the new test catches the old option handling here. I did not check Windows or macOS.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6183088332 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6183088332). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-15T02:34:11Z. --- I ran this PR's test on Linux, to go with screamm's Windows check above. This adds a run with the fix taken out. Setup: this PR's diff applied to main at 8cd937e29 (the PR's base is 425 commits behind it), default CMake build (CMAKE_BUILD_TYPE empty, unoptimized), clean environment. `ctest -R '^guest_sce_net$'`, 3 runs each. The test did not open a GPU device, so this is a CPU-only run. - with this PR: 3 of 3 pass. - with libSceNet/Export.cpp put back to main's version (the new test kept): 3 of 3 abort. The `Require` prints no message, so I took a backtrace of one more run under gdb: it stops in `RequireTimeout` (changed by this PR), called from `CheckKernelTimeouts`. So the new test catches the old option handling here. I did not check Windows or macOS. AI-assisted: yes
EagleBearerYS commented 2026-10-15 02:39:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-15T02:39:45Z.


Thanks for the run with the fix taken out. That's the Linux half of the red/green, from an independent build.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6183153195 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6183153195). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-15T02:39:45Z. --- Thanks for the run with the fix taken out. That's the Linux half of the red/green, from an independent build.
github-actions[bot] commented 2026-10-15 12:12:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:12:27Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6886 docs/dev/debt/libSceNet.md L14

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestSceNet.cpp
PR 6286 core/libs/prx/libSceNet/Export.cpp
docs/dev/debt/libSceNet.md
PR 6447 core/libs/prx/libSceNet/Export.cpp
docs/dev/debt/libSceNet.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191754798 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6191754798). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:12:27Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6886](https://www.github.com/boykopovar/AnyPS5/pull/6886) | `docs/dev/debt/libSceNet.md` [L14](https://github.com/boykopovar/AnyPS5/blob/4986aca62e5984de1a34531648af7c987e40eb5d/docs/dev/debt/libSceNet.md#L14) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestSceNet.cpp` | | [PR 6286](https://www.github.com/boykopovar/AnyPS5/pull/6286) | `core/libs/prx/libSceNet/Export.cpp`<br>`docs/dev/debt/libSceNet.md` | | [PR 6447](https://www.github.com/boykopovar/AnyPS5/pull/6447) | `core/libs/prx/libSceNet/Export.cpp`<br>`docs/dev/debt/libSceNet.md` |
adriadam10 commented 2026-10-16 19:08:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T19:08:10Z.


Checked on the PR merged onto current main: build and the 37 tests in scope pass, guest_sce_net included. With Export.cpp reverted the new test fails, so it covers the change. 0x1005/0x1006 now take a timeval like FreeBSD's sosetopt/sogetopt, 0x1105/0x1106 stay int microseconds, and the debt line is in place. Also confirmed by @screamm (Windows) and @Dextroid17 (Linux). Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6222775162 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6222775162). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T19:08:10Z. --- Checked on the PR merged onto current `main`: build and the 37 tests in scope pass, `guest_sce_net` included. With `Export.cpp` reverted the new test fails, so it covers the change. 0x1005/0x1006 now take a `timeval` like FreeBSD's `sosetopt`/`sogetopt`, 0x1105/0x1106 stay `int` microseconds, and the debt line is in place. Also confirmed by @screamm (Windows) and @Dextroid17 (Linux). Merging once CI is green.
adriadam10 commented 2026-10-16 22:00:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T22:00:18Z.


Re-checked on the PR merged onto current main: build and the 40 tests in scope pass, guest_sce_net included. With Export.cpp reverted the new test fails, so it covers the change. 0x1005/0x1006 now take a timeval like FreeBSD's sosetopt/sogetopt, 0x1105/0x1106 stay int microseconds, and the debt line is in place. Also confirmed by @screamm (Windows) and @Dextroid17 (Linux). Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6225513004 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5967#issuecomment-6225513004). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T22:00:18Z. --- Re-checked on the PR merged onto current `main`: build and the 40 tests in scope pass, `guest_sce_net` included. With `Export.cpp` reverted the new test fails, so it covers the change. 0x1005/0x1006 now take a `timeval` like FreeBSD's `sosetopt`/`sogetopt`, 0x1105/0x1106 stay `int` microseconds, and the debt line is in place. Also confirmed by @screamm (Windows) and @Dextroid17 (Linux). Merging once CI is green.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!5967
No description provided.