[ECOS] how to the time of so_keepalive in tcp/ip

Jonathan Larmour jlarmour@redhat.com
Fri Jun 22 14:23:00 GMT 2001


wangwei wrote:
> 
> Hi,all:
> Somebody can tell how to set the time of so_keepalive
> in tcp/ip stack?
> which variable can change it ?

eCos doesn't have the sysctl interface working with the net stack so you
have to set it directly. As it happens, because the code wasn't written
with correct name spacing, you can do it directly by assigning to an int
named tcp_keepintvl. The default value is in include/netinet/tcp_timer.h

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/



More information about the Ecos-discuss mailing list