service: sockets: Fix network crashes and lobby re-join issues #91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/multiplayer-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This addresses multiple critical regressions in the BSD socket service and ProxySocket implementation:
Fixes a SIGSEGV in OnProxyPacketReceived by adding null checks for descriptors.
Fixes Communication Error when re-joining lobbies by properly resetting socket state, binding flags, and flushing stale packet queues in Initialize().
Fixes "Mii Override" and phantom player bugs by implementing loopback protection (ignoring self-sent packets) and target IP validation.
Adds duplicate packet suppression to ensure unique socket objects only process a packet once, even if multiple file descriptors point to them.
This ensures stable multiplayer connectivity and lobby synchronization in certain titles.