Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 69205a2

Browse filesBrowse files
Basa198MoLow
authored andcommitted
doc: update socket.remote* properties documentation
Fixes: #48061 PR-URL: #48139 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 9aed868 commit 69205a2
Copy full SHA for 69205a2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/net.md‎

Copy file name to clipboardExpand all lines: doc/api/net.md
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,8 @@ added: v0.11.14
11361136

11371137
* {string}
11381138

1139-
The string representation of the remote IP family. `'IPv4'` or `'IPv6'`.
1139+
The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if
1140+
the socket is destroyed (for example, if the client disconnected).
11401141

11411142
### `socket.remotePort`
11421143

@@ -1146,7 +1147,8 @@ added: v0.5.10
11461147

11471148
* {integer}
11481149

1149-
The numeric representation of the remote port. For example, `80` or `21`.
1150+
The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if
1151+
the socket is destroyed (for example, if the client disconnected).
11501152

11511153
### `socket.resetAndDestroy()`
11521154

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.