Skip to content

Commit de13d62

Browse files
joyeecheungMylesBorins
authored andcommitted
doc: add link to references in net.Socket
PR-URL: #11625 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 7a6683e commit de13d62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/net.md

+2-1
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)