Skip to content

doc: document net Socket server property#63352

Closed
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-net-socket-server
Closed

doc: document net Socket server property#63352
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-net-socket-server

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes: #47148

Document the net.Socket#server property for sockets accepted by a net.Server, and note that it remains null for sockets not created by a server. This also covers the response.socket.server access pattern because HTTP server sockets are accepted through the same net server path.

Validation:

  • node tools/lint-md/lint-md.mjs doc/api/net.md
  • git diff --check origin/main...HEAD
  • Runtime probe confirming new net.Socket().server === null and accepted sockets reference their server.

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem. labels May 15, 2026
@MukundaKatta
Copy link
Copy Markdown
Author

Withdrawing — stepping away for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing reference (and types) for response.socket.server

2 participants