mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
On macOS, FIONREAD on a datagram socket counts more than the queued payload, so after one 5-byte datagram sceNetIoctl reported 37. libkernel's sockets already ask a macOS datagram socket for SO_NREAD, the size of the next datagram, instead; do the same for sceNetSocket sockets that are not streams. Co-authored-by: Himansh Raj <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>