This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how to the time of so_keepalive in tcp/ip


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]