rcvevent, and
lwip_recvfrom picks up the packet and subtract
rcvevent.
From the capture file, packets #27--48 are from PC, and matches the
3+ after 00107<cr> in the debug output
lwip_recvfrom continue to pick up one packet at a time, and subtract
event count by one until after the line "i am here00000012
done with lwip_recvfrom 00000011"
At this point, lwip_recvfrom picks up *ALL* the remaining packets and
sends them back to the main, but it failed to bring
sock->rcvevent
back to zero
As the result, the next call to lwip_recvfrom will see a non-zero
sock->rcvevent
but no data to pick up!
lwIP totally lost sync at this point.
Thanks for your time!
>>>>>>>>>>>>>>
Follow the links on the lwIP project page. Should bring you out
here: