Re: Per-connection TCP_KEEPALIVE setting?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 20, 2003 at 10:34:22PM +0300, Nick Patavalis wrote:
> On Sat, Sep 20, 2003 at 02:23:19PM -0500, Philip Mak wrote:
> > There seems to be a TCP_KEEPALIVE option in POSIX, but I can't find a
> > #define for TCP_KEEPALIVE in /usr/include. Does Linux support this?
> 
>    SO_KEEPALIVE
>       Enable sending of keep-alive messages on connec-
>       tion-oriented sockets. Expects  a  integer  boolean
>       flag.

SO_KEEPALIVE is a boolean option that determines whether or not
keepalives are sent.

But I'm looking for an integer option that determines how often
keepalives are sent...
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux