Re: Per-connection TCP_KEEPALIVE setting?
From: Nick Patavalis (npat@inaccessnetworks.com)
Date: Sat Sep 20 2003 - 14:52:53 EST
On Sat, Sep 20, 2003 at 02:42:47PM -0500, Philip Mak wrote:
>
> 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...
>
I don't think you can do this on a per-connection basis. If it is a
custom application protocol, you can of-course add your own keepalive
messages. I was dealing with the same issue a couple of years ago, and
ended-up doing exactly this.
/npat
--
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html