Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix dublication in net.createServer docs
  • Loading branch information
prog1dev committed Nov 1, 2018
commit 38904c34aaac5f59bb17af9c3b382da128d4cb93
7 changes: 3 additions & 4 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ added: v0.7.0
-->
* `options` {Object}
* `connectListener` {Function}

Alias to
[`net.createConnection(options[, connectListener])`][`net.createConnection(options)`].

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down