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
@@ -46,7 +46,7 @@ var connections = {};
46
46
* @class
47
47
* @param {string} options.host The server host
48
48
* @param {number} options.port The server port
49
-
* @param {number} [options.family=4] Version of IP stack. Defaults to 4.
49
+
* @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