We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b3570 commit 288a6ebCopy full SHA for 288a6eb
1 file changed
doc/api/net.md
@@ -1402,6 +1402,9 @@ data packet received and the first keepalive probe. Setting `0` for
1402
`initialDelay` will leave the value unchanged from the default
1403
(or previous) setting.
1404
1405
+**Note:** Node.js converts `initialDelay` from milliseconds to seconds and truncates any fractional part.
1406
+For example, `1500` becomes `1`, and values from `1` to `999` become `0`.
1407
+
1408
Enabling the keep-alive functionality will set the following socket options:
1409
1410
* `SO_KEEPALIVE=1`
0 commit comments