mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 09:03:22 -05:00
With libSceNet sockets on ordinary descriptor numbers (#4391), a title that makes a libSceNet socket non-blocking with plain fcntl(F_GETFL) and fcntl(F_SETFL, O_NONBLOCK) reached File::Fcntl, whose classification throws for a socket. libSceNet now registers a status control with libkernel, like its option setter: F_GETFL returns O_RDWR with the socket's non-blocking flag, F_SETFL sets it through SO_NBIO, as fcntl already does for libkernel sockets. ProsperoLight (PPSA99002) stopped here on Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017WeVmjnnPPKdxVTpr2Vjtw