Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various sys_net improvements #12858

Merged
merged 2 commits into from Oct 22, 2022
Merged

Various sys_net improvements #12858

merged 2 commits into from Oct 22, 2022

Conversation

RipleyTom
Copy link
Contributor

  • Adds support for reuse_addr and reuse_port(though both are handled the same rn).
  • Adds support for getpeername for P2PS sockets
  • Inherit nbio behaviour from parent in accept.

Fixes Street of Rage 2 and SFIV netplay.
Note that it needs an update of the RPCN server to function properly(to ensure everyone uses latest version of P2P packet format).

rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_p2p.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_p2p.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/lv2_socket_p2ps.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/lv2/sys_net/nt_p2p_port.cpp Show resolved Hide resolved
sys_net: implement reusable addr for p2p sockets
sys_net: implement getpeername for P2PS
sys_net: sockets inherit NBIO from their parent
@Megamouse Megamouse merged commit 837d9ca into RPCS3:master Oct 22, 2022
@RipleyTom RipleyTom deleted the reuse_addr branch October 29, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants