summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Buus <mathiasbuus@gmail.com>2020-04-07 17:55:50 +0200
committerGitHub <noreply@github.com>2020-04-07 17:55:50 +0200
commit271f81b0166b2421ea42405eaf0515f8e6671a42 (patch)
treef30bea883497212dec1ebfc42b0f0fe093c92a24
parent6ed912dd0319475d2c4ebd9991af52420de17fe8 (diff)
downloadnode-new-mafintosh-patch-1.tar.gz
Document allowHalfOpen in net.connectmafintosh-patch-1
-rw-r--r--doc/api/net.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/net.md b/doc/api/net.md
index 51a1b8b48e..0788da0ae6 100644
--- a/doc/api/net.md
+++ b/doc/api/net.md
@@ -636,6 +636,8 @@ For TCP connections, available `options` are:
`0` indicates that both IPv4 and IPv6 addresses are allowed. **Default:** `0`.
* `hints` {number} Optional [`dns.lookup()` hints][].
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
+* `allowHalfOpen` {boolean} Indicates whether half-opened TCP connections
+ are allowed. **Default:** `false`.
For [IPC][] connections, available `options` are: