diff --git a/doc/api/net.md b/doc/api/net.md index d65637e31568a8..a12ac4ad3cc258 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -618,8 +618,8 @@ For TCP connections, available `options` are: * `host` {string} Host the socket should connect to. **Default:** `'localhost'`. * `localAddress` {string} Local address the socket should connect from. * `localPort` {number} Local port the socket should connect from. -* `family` {number}: Version of IP stack, can be either `4` or `6`. - **Default:** `4`. +* `family` {number}: Version of IP stack. Must be `4`, `6`, or `0`. + **Default:** `0`. * `hints` {number} Optional [`dns.lookup()` hints][]. * `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].