You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: lib/connection/connection.js
+11-5
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ var connections = {};
23
23
* @class
24
24
* @param {string} options.host The server host
25
25
* @param {number} options.port The server port
26
-
* @param {number} [options.family=4] Version of IP stack. Defaults to 4.
26
+
* @param {number} [options.family=null] IP version for DNS lookup, passed down to Node's [`dns.lookup()` function](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback). If set to `6`, will only look for ipv6 addresses.
0 commit comments