[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] asynchronous send Not working.
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] asynchronous send Not working. |
Date: |
Mon, 14 May 2012 17:06:48 +0100 |
On Fri, 2012-05-11 at 14:24 -0400, Andrew Xiang wrote:
> I use the RAW API. If I send out the 8K data inside the recv function,
> everything is fine. But if I do the send later in the main(), I get some
> strange problem. (long delay and TCP data corruption)
Most likely you're ending up with two threads hitting lwIP at the same
time resulting in the corruption. To be sure of the solution we'd need
more details about how lwIP is processed. Does this happen from your
main loop, or elsewhere, in your port?
Kieran