[PR #3384] [MERGED] Fix get/setsockopt levels #3429

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

📋 Pull Request Information

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

Base: mainHead: sockopt


📝 Commits (1)

  • 5b2661c Fix get/setsockopt levels

📊 Changes

1 file changed (+12 additions, -7 deletions)

View changed files

📝 src/core/libraries/network/posix_sockets.cpp (+12 -7)

📄 Description

  • get/setsockopt use native_level in macro-ed cases
  • so_error cannot be set
  • so_nbio clamps the optlen to 4

🔄 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/3384 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 8/4/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `sockopt` --- ### 📝 Commits (1) - [`5b2661c`](https://github.com/shadps4-emu/shadPS4/commit/5b2661c035042598a977eb710cc883175d1a1b13) Fix get/setsockopt levels ### 📊 Changes **1 file changed** (+12 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/network/posix_sockets.cpp` (+12 -7) </details> ### 📄 Description - get/setsockopt use native_level in macro-ed cases - so_error cannot be set - so_nbio clamps the optlen to 4 --- <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:40 +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#3429
No description provided.