Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,9 @@ data packet received and the first keepalive probe. Setting `0` for
`initialDelay` will leave the value unchanged from the default
(or previous) setting.

**Note:** Node.js converts `initialDelay` from milliseconds to seconds and truncates any fractional part.
For example, `1500` becomes `1`, and values from `1` to `999` become `0`.

Comment thread
efekrskl marked this conversation as resolved.
Outdated
Enabling the keep-alive functionality will set the following socket options:

* `SO_KEEPALIVE=1`
Expand Down
Loading