Files
ppsspp/Core/HLE
Henrik RydgårdandClaude Opus 5.5 eb254d86e8 sceNetAdhoc: Don't take a refused PTP connect for an established one
On macOS, calling connect() again on a socket whose non-blocking
connect was refused returns EISCONN; only SO_ERROR and a failing
getpeername tell it apart from a connection. PtpConnect took EISCONN at
its word, so in P2P mode a connect to a port nobody listened on
"succeeded", and the game sent into nothing. Check getpeername first
and use SO_ERROR when it fails.

PollSocket also reports a refused connect as DISCONNECT now, as a PSP
does (net/adhoc/poll), instead of only ever noticing success.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:15:35 +01:00
..
2026-08-11 10:28:36 +02:00
2025-07-20 19:30:35 +02:00
…
…
…
…
2025-07-20 19:32:05 +02:00
…
2026-10-26 12:10:10 +01:00
…
…
…
2026-08-11 10:28:47 +02:00
…
2026-08-11 20:14:01 +02:00
…
…