From: dpc6787@illinois.cs.rit.edu (David P Cutter)
Subject: Re: keep-alive on tcp/ip-socket connections
Date: 1996/10/21 [thread overview]
Message-ID: <54g21p$fum@rit.cs.rit.edu> (raw)
In-Reply-To: 54fqd5$m4e@news.uni-c.dk
In article <54fqd5$m4e@news.uni-c.dk>, Ole Joergensen <oj@dk-online.dk> wrote:
>Does anybody know how to control sending of 'keep-alives' on
>tcp-connections
>(OSF/1 - alpha platforms) ?
>
>The problem arises when programming tcp at the socket-level (in C).
>
[...stuff deleted...]
>
>The question is then: How does one change this? How can you make the
>probing start as soon
>as the connection is established?
>
Yes! I've been complaining about this one for a while. We have to solve
the same type of problems as described above.
Most TCP/IP vendors do not allow a programmer to specify a timer value
for keep-alives. And on top of that, there is no way to specify a
different timer per/socket - it's global value based per net interface.
For that reason most vendors implement these values in the kernel. On
Solaris we can use the ndd utility to change these values, on DUnix
edit /sys/conf/<SYSNODE> and add/change the tcp_keepidle, tcp_keepintvl
values [...opps, I never did try this on DUnix...]. If the kernel
config doesn't work, you may have to "adb" the kernel and change the
values by hand (yuk).
Dave
next prev parent reply other threads:[~1996-10-21 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-21 4:00 keep-alive on tcp/ip-socket connections Ole Joergensen
1996-10-21 4:00 ` David P Cutter [this message]
1996-10-22 4:00 ` Glen Turner
1996-10-23 4:00 ` Jeffrey Mogul
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox