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 0aab050

Browse filesBrowse files
joyeecheungMylesBorins
authored andcommitted
doc: add link to references in net.Socket
PR-URL: #11625 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 109fd72 commit 0aab050
Copy full SHA for 0aab050

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/net.md‎

Copy file name to clipboardExpand all lines: doc/api/net.md
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Construct a new socket object.
334334
`fd` allows you to specify the existing file descriptor of socket.
335335
Set `readable` and/or `writable` to `true` to allow reads and/or writes on this
336336
socket (NOTE: Works only when `fd` is passed).
337-
About `allowHalfOpen`, refer to `createServer()` and `'end'` event.
337+
About `allowHalfOpen`, refer to [`net.createServer()`][] and [`'end'`][] event.
338338

339339
`net.Socket` instances are [`EventEmitter`][] with the following events:
340340

@@ -933,6 +933,7 @@ Returns true if input is a version 6 IP address, otherwise returns false.
933933
[`dns.lookup()` hints]: dns.html#dns_supported_getaddrinfo_flags
934934
[`end()`]: #net_socket_end_data_encoding
935935
[`EventEmitter`]: events.html#events_class_eventemitter
936+
[`net.createServer()`]: #net_net_createserver_options_connectionlistener
936937
[`net.Socket`]: #net_class_net_socket
937938
[`pause()`]: #net_socket_pause
938939
[`resume()`]: #net_socket_resume

0 commit comments

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