mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #1007] [CLOSED] Try to resolve the issue of socket port listening failure #1413
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/1007
Author: @DYH1319
Created: 1/15/2026
Status: ❌ Closed
Base:
develop← Head:fix/#1006📝 Commits (4)
bdfbcd5Merge pull request #986 from ElectronNET/developcb20fbaMerge pull request #991 from ElectronNET/develop7e6760aMerge pull request #998 from ElectronNET/develop3491751Try to improve GetFreePort method📊 Changes
1 file changed (+66 additions, -1 deletions)
View changed files
📝
src/ElectronNET.API/Runtime/Helpers/PortHelper.cs(+66 -1)📄 Description
#1006 In the
GetFreePort()method, add an attempt to listen on the port to ensure the returned port is available for listening.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.