Hi again.
I tried the latest sources from CVS, but chargen still froze.
BTW, timeouts were processed by sem/mbx timeout on my system.
In this method, if TCP thread stops once, no one processes
timeouts and therefore TCP timers stop too.
So, I wrote a cyclic-handler which processes timeouts.
Lwip enters TCP retransmit-mode when two ACKs which have same
ack number are received.
chargen client > chargen [EMAIL PROTECTED]: ack=1000
chargen [EMAIL PROTECTED] > chargen client: seq=1000
chargen [EMAIL PROTECTED] > chargen client: seq=1100
chargen client > chargen [EMAIL PROTECTED]: ack=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1300
chargen client > chargen [EMAIL PROTECTED]: ack=1200 <- same ack no./bigger
win size.
chargen [EMAIL PROTECTED] > chargen client: seq=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1200
chargen [EMAIL PROTECTED] > chargen client: seq=1200
...
<< entering exponential back-off >>
I think that a client is waiting for next sequence in order
to avoid the SWS. Is this correct?
If so, why Lwip does not send next sequence?
--
mitani
I wrote:
Hi
It is 1.1.0 release.
tcp.c 12-07-2004
tcp_in.c 11-24-2004
tcp_out.c 12-27-2004
Should I try newer version?
--
mitani
Leon Woestenberg wrote:
Hello,
Mitani Hiroshi wrote:
Hi
I am trying to run 'chargen.c'. But it always freezes in a while.
It seems that TCP stops sending packet with two ACKs which have
same ack number. Here is the last part of dump list by tcpdump.
Does anybody have a hint for me?
Which version of lwIP? From CVS, or from a release?
Regards,
Leon.
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users