mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: fix dublication in net.createServer() docs
PR-URL: https://github.com/nodejs/node/pull/24026 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
d729f3e198
commit
a1b75d0cbf
1 file changed
+3
-4
+3
-4
@@ -886,6 +886,7 @@ added: v0.7.0
|
||||
-->
|
||||
* `options` {Object}
|
||||
* `connectListener` {Function}
|
||||
|
||||
Alias to
|
||||
[`net.createConnection(options[, connectListener])`][`net.createConnection(options)`].
|
||||
|
||||
@@ -1028,10 +1029,6 @@ then returns the `net.Socket` that starts the connection.
|
||||
<!-- YAML
|
||||
added: v0.5.0
|
||||
-->
|
||||
* `options` {Object}
|
||||
* `connectionListener` {Function}
|
||||
|
||||
Creates a new TCP or [IPC][] server.
|
||||
|
||||
* `options` {Object}
|
||||
* `allowHalfOpen` {boolean} Indicates whether half-opened TCP
|
||||
@@ -1042,6 +1039,8 @@ Creates a new TCP or [IPC][] server.
|
||||
[`'connection'`][] event.
|
||||
* Returns: {net.Server}
|
||||
|
||||
Creates a new TCP or [IPC][] server.
|
||||
|
||||
If `allowHalfOpen` is set to `true`, when the other end of the socket
|
||||
sends a FIN packet, the server will only send a FIN packet back when
|
||||
[`socket.end()`][] is explicitly called, until then the connection is
|
||||
|
||||
Reference in new issue
Block a user