[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] TCP pcb's in ESTABLISHED hang around forever af
From: |
Paul Sheer |
Subject: |
[lwip-users] Re: [lwip] TCP pcb's in ESTABLISHED hang around forever after close |
Date: |
Thu, 09 Jan 2003 00:39:49 -0000 |
>
> > currently I am thinking of adding a new structure
> > member pcb->die_timeout. This gives the calling app
> > tighter control. You can set die_timeout at any time
> > you think the tcp connection should *really* not hang
> > around for longer than a given number of seconds.
>
> It is also possible to use the polling functionality. TCP will poll the
> application with a specific interval when the connection is idle.
>
in any event I have added this new member, and i'm happy with
the behavior. I think its the clean way to do things.
generally, if you're are paranoid about hanging pcbs (and I am),
then you want to drop any pcb that sits around for too long
without receiving *any* packets.
-paul
Paul Sheer Consulting IT Services . . Tel . . . +27 (0)21 6869634
Email . . . address@hidden . . . . . . Pager . . . 088 0057245
Linux development, cryptography, recruitment, support, training
http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net
L I N U X . . . . . . . . . . . . The Choice of a GNU Generation
[This message was sent through the lwip discussion list.]