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:
Ivan Filenko authored and Michaël Zasso committed 2018-11-03 13:31:14 +01:00
1 parent d729f3e198
commit a1b75d0cbf
1 file changed
+3 -4
+3 -4
View File
@@ -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