[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip_read hanging and wrong sequence number
From: |
Martin Persich |
Subject: |
Re: [lwip-users] lwip_read hanging and wrong sequence number |
Date: |
Fri, 12 Feb 2010 14:23:05 +0100 |
Hi,
I had similar problem on AVR32 UC3A with thread "hang-up".
Do you have corrected problem mentioned in
http://lists.gnu.org/archive/html/lwip-users/2009-12/msg00043.html ?
Only Atmel Software Framework version 1.7 is ok.
Martin
----- Original Message -----
From: "Cristina Marcucci" <address@hidden>
To: <address@hidden>
Sent: Friday, February 12, 2010 12:28 PM
Subject: [lwip-users] lwip_read hanging and wrong sequence number
Hi everybody, I am new to both lwip and lwip-users.
I am using lwip with AVR32 (Atmel AT32UC3A) and have two big problems which
I can reproduce quite easily:
1. My thread reads data with lwip_read (I have set a timeout of 36 seconds
as a socket option, but the problem occurs also without the timeout
directive). After working fine for some time, my thread "hangs" on the
lwip_read, no more data received or a timeout happening. But the incoming
messages are are still being processed and acked at TCP level all the time.
My window size of course shrinks more an more, and finally my receive queue
gets full, proving that my thread is not receiving anylonger. Wireshark
trace attached.
2. In a different scenario, after running fine for some time, my application
sends a wrong sequence number. Wireshark trace attached.
Can anybody please help me?
Thank you and best regrads
cristina