Skip to content
Open
Changes from all commits
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
4 changes: 3 additions & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,9 @@ corresponding system default unchanged.

`initialDelay` and `interval` are specified in milliseconds but the
underlying socket options are configured in whole seconds; the values are
divided by `1000` and rounded down before being applied.
divided by `1000` and rounded down before being applied. For example,
setting `initialDelay` to `400` will result in a `TCP_KEEPIDLE` of `0`
seconds (since `400 / 1000` rounds down to `0`).

Enabling the keep-alive functionality will set the following socket options:

Expand Down
Loading