(Manual) TCP Keepalive HOWTO

2012-11-11 wcdj

不错的manual,记录下。

http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html

TCP Keepalive HOWTO

http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/index.html


This document describes the TCP keepalive implementation in the linux kernel, introduces the overall concept and points to both system configuration and software development.

Table of Contents
1. Introduction
1.1. Copyright and License
1.2. Disclaimer
1.3. Credits / Contributors
1.4. Feedback
1.5. Translations
2. TCP keepalive overview
2.1. What is TCP keepalive?
2.2. Why use TCP keepalive?
2.3. Checking for dead peers
2.4. Preventing disconnection due to network inactivity
3. Using TCP keepalive under Linux
3.1. Configuring the kernel
3.2. Making changes persistent to reboot
4. Programming applications
4.1. When your code needs keepalive support
4.2. The setsockopt function call
4.3. Code examples
5. Adding support to third-party software
5.1. Modifying source code
5.2. libkeepalive: library preloading

你可能感兴趣的:((Manual) TCP Keepalive HOWTO)