diff --git a/desktop-src/WinSock/sio-keepalive-vals.md b/desktop-src/WinSock/sio-keepalive-vals.md index 76d77ee1b7e..3d84e5663f7 100644 --- a/desktop-src/WinSock/sio-keepalive-vals.md +++ b/desktop-src/WinSock/sio-keepalive-vals.md @@ -165,9 +165,8 @@ To query whether TCP keep-alive is enabled on a socket, the getsockopt function To enable or disable TCP keep-alive, the **setsockopt** function can be called with the [**SO_KEEPALIVE**](/windows/desktop/winsock/so-keepalive) option. If TCP keep-alive is enabled with [**SO_KEEPALIVE**](/windows/desktop/winsock/so-keepalive), then the default TCP settings are used for keep-alive timeout and interval unless these values have been changed using **SIO\_KEEPALIVE\_VALS**. -The default settings when a TCP socket is initialized sets the keep-alive timeout to 2 hours and the keep-alive interval to 1 second. -The default system-wide value of the keep-alive timeout is controllable through the [**KeepAliveTime**](/previous-versions/windows/it-pro/windows-server-2003/cc782936(v=ws.10)) registry setting which takes a value in milliseconds. -The default system-wide value of the keep-alive interval is controllable through the [**KeepAliveInterval**](/previous-versions/windows/it-pro/windows-server-2003/cc758083(v=ws.10)) registry setting which takes a value in milliseconds. +The default system-wide value of the keep-alive timeout is controllable through the [**KeepAliveTime**](/previous-versions/windows/it-pro/windows-server-2003/cc782936(v=ws.10)) registry setting which takes a value in milliseconds. If the key is not set, the default keep-alive timeout is 2 hours. +The default system-wide value of the keep-alive interval is controllable through the [**KeepAliveInterval**](/previous-versions/windows/it-pro/windows-server-2003/cc758083(v=ws.10)) registry setting which takes a value in milliseconds. If the key is not set, the default keep-alive interval is 1 second. On Windows Vista and later, the number of keep-alive probes (data retransmissions) is set to 10 and cannot be changed.