[PR #2060] [CLOSED] sceNet #2467

Closed
opened 2026-02-27 21:16:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2060
Author: @georgemoralis
Created: 1/5/2025
Status: Closed

Base: mainHead: sceNet


📝 Commits (10+)

  • 035ca58 restarted implementation - draft work
  • 3a77fd0 abstract socket implementation (initial)
  • 5b5044d clang fix
  • ba78b25 intial sceNetSetsockopt
  • 1949079 added sceNetBind,sceNetListen
  • c244b9c added ORBIS_NET_CTL_INFO_MTU
  • 6f8f9e1 added SO_BROADCAST (optname =32) in SetSocketOptions
  • 65302b0 draft epoll work
  • 4558bac reuse fix
  • 885182c correct socketoption struct and added ORBIS_NET_SO_SNDTIMEO

📊 Changes

19 files changed (+1157 additions, -50 deletions)

View changed files

📝 CMakeLists.txt (+10 -0)
📝 src/core/libraries/kernel/kernel.cpp (+41 -5)
src/core/libraries/kernel/posix_net.cpp (+118 -0)
src/core/libraries/kernel/posix_net.h (+81 -0)
src/core/libraries/network/epoll.cpp (+37 -0)
src/core/libraries/network/epoll.h (+91 -0)
📝 src/core/libraries/network/net.cpp (+200 -34)
📝 src/core/libraries/network/net.h (+82 -10)
src/core/libraries/network/net_error.h (+20 -0)
src/core/libraries/network/net_obj.cpp (+0 -0)
src/core/libraries/network/net_obj.h (+0 -0)
src/core/libraries/network/net_util.cpp (+110 -0)
src/core/libraries/network/net_util.h (+24 -0)
📝 src/core/libraries/network/netctl.cpp (+10 -1)
📝 src/core/libraries/network/netctl.h (+18 -0)
src/core/libraries/network/p2p_sockets.cpp (+35 -0)
src/core/libraries/network/posix_sockets.cpp (+179 -0)
src/core/libraries/network/sockets.h (+94 -0)
📝 src/emulator.cpp (+7 -0)

📄 Description

New implementation still initial


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2060 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 1/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `sceNet` --- ### 📝 Commits (10+) - [`035ca58`](https://github.com/shadps4-emu/shadPS4/commit/035ca58994b29a66e0c3ef5cb9cd01b4d1bc28a0) restarted implementation - draft work - [`3a77fd0`](https://github.com/shadps4-emu/shadPS4/commit/3a77fd04cfeafc50625e66db532ab63b2d9d61f8) abstract socket implementation (initial) - [`5b5044d`](https://github.com/shadps4-emu/shadPS4/commit/5b5044d2b64aa47aeb1494a33dcb8c54221fd7c0) clang fix - [`ba78b25`](https://github.com/shadps4-emu/shadPS4/commit/ba78b2536539b91d97435dfcbc18a82d9e55fcf1) intial sceNetSetsockopt - [`1949079`](https://github.com/shadps4-emu/shadPS4/commit/194907953a9d39db0dc12e5a40f30acf4fdbc161) added sceNetBind,sceNetListen - [`c244b9c`](https://github.com/shadps4-emu/shadPS4/commit/c244b9cd65dfdace5394a43321bd9020620f40cd) added ORBIS_NET_CTL_INFO_MTU - [`6f8f9e1`](https://github.com/shadps4-emu/shadPS4/commit/6f8f9e19707ae56c1b924407b243dd46f85f585e) added SO_BROADCAST (optname =32) in SetSocketOptions - [`65302b0`](https://github.com/shadps4-emu/shadPS4/commit/65302b0267a3304a60be18dc63441bdcf6fd5727) draft epoll work - [`4558bac`](https://github.com/shadps4-emu/shadPS4/commit/4558bac959787a477d37463bc78eb6d2f196e0a5) reuse fix - [`885182c`](https://github.com/shadps4-emu/shadPS4/commit/885182c1d33693661e19311c868a12cd39f3d506) correct socketoption struct and added ORBIS_NET_SO_SNDTIMEO ### 📊 Changes **19 files changed** (+1157 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+10 -0) 📝 `src/core/libraries/kernel/kernel.cpp` (+41 -5) ➕ `src/core/libraries/kernel/posix_net.cpp` (+118 -0) ➕ `src/core/libraries/kernel/posix_net.h` (+81 -0) ➕ `src/core/libraries/network/epoll.cpp` (+37 -0) ➕ `src/core/libraries/network/epoll.h` (+91 -0) 📝 `src/core/libraries/network/net.cpp` (+200 -34) 📝 `src/core/libraries/network/net.h` (+82 -10) ➕ `src/core/libraries/network/net_error.h` (+20 -0) ➖ `src/core/libraries/network/net_obj.cpp` (+0 -0) ➖ `src/core/libraries/network/net_obj.h` (+0 -0) ➕ `src/core/libraries/network/net_util.cpp` (+110 -0) ➕ `src/core/libraries/network/net_util.h` (+24 -0) 📝 `src/core/libraries/network/netctl.cpp` (+10 -1) 📝 `src/core/libraries/network/netctl.h` (+18 -0) ➕ `src/core/libraries/network/p2p_sockets.cpp` (+35 -0) ➕ `src/core/libraries/network/posix_sockets.cpp` (+179 -0) ➕ `src/core/libraries/network/sockets.h` (+94 -0) 📝 `src/emulator.cpp` (+7 -0) </details> ### 📄 Description New implementation still initial --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2467
No description provided.