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 _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
