lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] tcp echo example


From: Sergio R. Caprile
Subject: Re: [lwip-users] tcp echo example
Date: Mon, 04 Aug 2014 09:36:57 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

What can I tell you...
I've seen the code running fine, if it doesn't run fine on your
scenario, then either your scenario is faulty or mine didn't trigger the
bug.
You are not supposed to have ticks and/or timing here, the stack works
when a frame is received, you have to always call the stack from a
single thread, no interrupts here (if it works, fine, but if it doesn't,
then don't complain), and call the system timers frequently enough.
Since long ago there is sys_check_timeouts() that will take care of
everything, you can call it from your main loop. Make sure you are doing
that.
I will see if I can run the linux port later with several message sizes
and check again, I've run it on a taiwanese Cortex-M3 last month and had
fun watching it work as expected.

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]