mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 00:53:02 -05:00
soreceive_generic returns 0 for a socket whose receive side is shut and for a zero-length receive on a connected stream socket (ENOTCONN when it is not connected), without waiting. Winsock fails the first with WSAESHUTDOWN, which reached the guest as EPIPE, and blocks the second until data arrives. recv and recvfrom now answer both themselves. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>