net.setDefaultAutoSelectFamilyAttemptTimeout(value)


设置 socket.connect(options)autoSelectFamilyAttemptTimeout 选项的默认值。

¥Sets the default value of the autoSelectFamilyAttemptTimeout option of socket.connect(options).

  • value <number> 新的默认值,必须是正数。如果数字小于 10,则使用值 10。初始默认值为 250

    ¥value <number> The new default value, which must be a positive number. If the number is less than 10, the value 10 is used instead. The initial default value is 250.