[PR #3392] [MERGED] Sockets fixes #3435

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3392
Author: @mikusp
Created: 8/5/2025
Status: Merged
Merged: 8/6/2025
Merged by: @georgemoralis

Base: mainHead: sockets_fixes


📝 Commits (5)

  • c82c2b8 Print errnos as decimal
  • 3ab9a65 SetSocketOptions: prevent setting SO_TYPE
  • 924afb6 Extract net error handler
  • b993a82 Change the local IP retrieval method
  • a3c3779 Fix windows

📊 Changes

7 files changed (+137 additions, -664 deletions)

View changed files

📝 src/core/libraries/network/net.cpp (+66 -636)
📝 src/core/libraries/network/net_error.h (+1 -0)
📝 src/core/libraries/network/net_util.cpp (+45 -0)
📝 src/core/libraries/network/net_util.h (+3 -0)
📝 src/core/libraries/network/netctl.cpp (+11 -17)
📝 src/core/libraries/network/posix_sockets.cpp (+1 -1)
📝 src/core/libraries/network/sys_net.cpp (+10 -10)

📄 Description

  • extracts the common code for network error handling
  • changes the way of getting local IP

🔄 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/3392 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 8/5/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `sockets_fixes` --- ### 📝 Commits (5) - [`c82c2b8`](https://github.com/shadps4-emu/shadPS4/commit/c82c2b8c8b74c9cb0bba9779b01df9c89a6c37e0) Print errnos as decimal - [`3ab9a65`](https://github.com/shadps4-emu/shadPS4/commit/3ab9a656379bb45fe0d667d670c2b00e19afeaee) SetSocketOptions: prevent setting SO_TYPE - [`924afb6`](https://github.com/shadps4-emu/shadPS4/commit/924afb6560d8d3769aff8156418112d83458a50c) Extract net error handler - [`b993a82`](https://github.com/shadps4-emu/shadPS4/commit/b993a822af9d42193867b4ddf9a61e20517f37e7) Change the local IP retrieval method - [`a3c3779`](https://github.com/shadps4-emu/shadPS4/commit/a3c37793306a9a67cb229065ba6bd2a79ca7205c) Fix windows ### 📊 Changes **7 files changed** (+137 additions, -664 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/network/net.cpp` (+66 -636) 📝 `src/core/libraries/network/net_error.h` (+1 -0) 📝 `src/core/libraries/network/net_util.cpp` (+45 -0) 📝 `src/core/libraries/network/net_util.h` (+3 -0) 📝 `src/core/libraries/network/netctl.cpp` (+11 -17) 📝 `src/core/libraries/network/posix_sockets.cpp` (+1 -1) 📝 `src/core/libraries/network/sys_net.cpp` (+10 -10) </details> ### 📄 Description - extracts the common code for network error handling - changes the way of getting local IP --- <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:41 +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#3435
No description provided.