File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -886,6 +886,7 @@ added: v0.7.0
886
886
-->
887
887
* ` options ` {Object}
888
888
* ` connectListener ` {Function}
889
+
889
890
Alias to
890
891
[ ` net.createConnection(options[, connectListener]) ` ] [ `net.createConnection(options)` ] .
891
892
@@ -1028,10 +1029,6 @@ then returns the `net.Socket` that starts the connection.
1028
1029
<!-- YAML
1029
1030
added: v0.5.0
1030
1031
-->
1031
- * ` options ` {Object}
1032
- * ` connectionListener ` {Function}
1033
-
1034
- Creates a new TCP or [ IPC] [ ] server.
1035
1032
1036
1033
* ` options ` {Object}
1037
1034
* ` allowHalfOpen ` {boolean} Indicates whether half-opened TCP
@@ -1042,6 +1039,8 @@ Creates a new TCP or [IPC][] server.
1042
1039
[ ` 'connection' ` ] [ ] event.
1043
1040
* Returns: {net.Server}
1044
1041
1042
+ Creates a new TCP or [ IPC] [ ] server.
1043
+
1045
1044
If ` allowHalfOpen ` is set to ` true ` , when the other end of the socket
1046
1045
sends a FIN packet, the server will only send a FIN packet back when
1047
1046
[ ` socket.end() ` ] [ ] is explicitly called, until then the connection is
You can’t perform that action at this time.
0 commit comments