Configuring TCP/IP "KeepAlive" network settings on the Windows operating system

Posted: (EET/GMT+2)

 

I recently needed to test various C#/.NET socket programming implementations, and especially situations where the TCP/IP connections must be kept alive using the "KeepAlive" (keep alive) setting .NET's socket options.

Windows operating system has three registry settings that globally configure how the TCP/IP stack operates on Windows. There's a nice documentation about these settings on MSDN blogs, which I suggest reading.

Happy networking!