Re: [Q] tcp_keepalive

David S. Miller (davem@dm.cobaltmicro.com)
Wed, 22 Apr 1998 00:42:08 -0700


Date: Mon, 20 Apr 1998 16:46:28 +0400 (MSD)
From: Andrey Chizh <anchi@dual.solvo.spb.su>

Which method to enable tcp_keepalive?

Only documented are tcp_keepalive_time & tcp_keepalive_probes
In Documentation/ip-sysctl.txt I read:
tcp_keepalive_time - INTEGER
How often TCP sends out keepalive messages when keepalive is
enabled.

But, it's unclear _where_ keepalive enabling is.

It is a part of the standard BSD socket API, how you enable it, and it
is done per socket. Use a call to setsockopt() to do it.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu