[PR #3319] [MERGED] Sockets are now files #3386

Closed
opened 2026-02-27 22:03:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3319
Author: @mikusp
Created: 7/24/2025
Status: Merged
Merged: 7/28/2025
Merged by: @georgemoralis

Base: mainHead: sockets_io


📝 Commits (4)

  • 6cbdffc Socket support for read/write/fstat
  • cf5b341 Sockets are now files
  • d56a024 Fix ssize_t for windows
  • aad4c48 Return posix error codes in net functions

📊 Changes

10 files changed (+182 additions, -92 deletions)

View changed files

📝 src/core/file_sys/fs.cpp (+12 -0)
📝 src/core/file_sys/fs.h (+8 -1)
📝 src/core/libraries/kernel/file_system.cpp (+25 -0)
📝 src/core/libraries/kernel/kernel.cpp (+5 -4)
📝 src/core/libraries/network/net.h (+2 -0)
📝 src/core/libraries/network/p2p_sockets.cpp (+5 -0)
📝 src/core/libraries/network/posix_sockets.cpp (+43 -4)
📝 src/core/libraries/network/sockets.h (+12 -19)
📝 src/core/libraries/network/sys_net.cpp (+68 -62)
📝 src/core/libraries/network/sys_net.h (+2 -2)

📄 Description

Extracted from Network WIP


🔄 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/3319 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 7/24/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `sockets_io` --- ### 📝 Commits (4) - [`6cbdffc`](https://github.com/shadps4-emu/shadPS4/commit/6cbdffcd494c0c007906b44964f345e7cdd1d193) Socket support for read/write/fstat - [`cf5b341`](https://github.com/shadps4-emu/shadPS4/commit/cf5b341559d89f6d1454641446a89c88353160ad) Sockets are now files - [`d56a024`](https://github.com/shadps4-emu/shadPS4/commit/d56a024dfc197bb529b27ad02d44e80e656cf732) Fix ssize_t for windows - [`aad4c48`](https://github.com/shadps4-emu/shadPS4/commit/aad4c48a51f8201a8e92e2653743eab973c1cd9f) Return posix error codes in net functions ### 📊 Changes **10 files changed** (+182 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `src/core/file_sys/fs.cpp` (+12 -0) 📝 `src/core/file_sys/fs.h` (+8 -1) 📝 `src/core/libraries/kernel/file_system.cpp` (+25 -0) 📝 `src/core/libraries/kernel/kernel.cpp` (+5 -4) 📝 `src/core/libraries/network/net.h` (+2 -0) 📝 `src/core/libraries/network/p2p_sockets.cpp` (+5 -0) 📝 `src/core/libraries/network/posix_sockets.cpp` (+43 -4) 📝 `src/core/libraries/network/sockets.h` (+12 -19) 📝 `src/core/libraries/network/sys_net.cpp` (+68 -62) 📝 `src/core/libraries/network/sys_net.h` (+2 -2) </details> ### 📄 Description Extracted from Network WIP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:30 +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#3386
No description provided.