[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] A closed pcb stays for 120seconds in the tcp_tw_pcbs. R
From: |
Michael Anburaj |
Subject: |
Re: [lwip-users] A closed pcb stays for 120seconds in the tcp_tw_pcbs. Right or wrong? |
Date: |
Wed, 22 Dec 2004 07:27:47 -0800 (PST) |
Hi Kieran,
Does'nt solve my problem though. So, if a closed pcb
is going to stay in the tcp_tw_pcbs list for 120
seconds (which means will be available to use after
this period only), then like in my case there is a
very good chance of all the 8 pcb's getting used up
within this period & run out of space when calling
tcp_listen() again <after 8 times>.
Let me know if something is worng with my code loop.
Cheers,
-Mike.
--- Michael Anburaj <address@hidden> wrote:
> Hi Kieran,
>
> Thanks for responding.
>
> Line 155 of tcp.h reads like this,
>
> #define TCP_MSL 60000 /* The maximum segment
> lifetime
> in microseconds */
>
> I guess the comment is wrong then. It should be
> milliseconds instead of microseconds.
>
> -Mike.
>
> --- Kieran Mansley <address@hidden> wrote:
>
> > On Tue, 21 Dec 2004, Michael Anburaj wrote:
> > > Let me know if I missed something or if I
> > uncovered a
> > > bug.
> >
> > I think you've missed something I'm afraid!
> > TIME_WAIT lasts for
> > 120 seconds, so the code is correct as it stands.
> > The maximum segment
> > lifetime (MSL) is much longer than you think,
> which
> > is I think where you
> > introduce an error. If you want to know the
> reasons
> > behind this I can
> > provide some references to explain in more detail.
> >
> > Kieran
> >
> >
> > _______________________________________________
> > lwip-users mailing list
> > address@hidden
> >
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Send a seasonal email greeting and help others. Do
> good.
> http://celebrity.mail.yahoo.com
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250