Files
AnyPS5/core/libs/prx/libkernel
Yunus Shaikh 4d35b48daf fix(libkernel): stop Winsock failing an unconnected datagram receive after an unreachable port
Winsock reports an ICMP port-unreachable reply as WSAECONNRESET on the
next receive of any datagram socket, so on Windows a guest UDP socket
that sent to a port nobody listens on failed its next recvfrom with
ECONNRESET. FreeBSD's udp_common_ctlinput passes the reply on only to
a socket connected to the sender; an unconnected one keeps receiving.
socket now turns SIO_UDP_CONNRESET off on datagram sockets on Windows,
as #5295 does for sceNetSocket.
2026-10-13 12:08:21 -07:00
..