|
From: | Sergio R. Caprile |
Subject: | Re: [lwip-users] Recv UDP Problem |
Date: | Mon, 21 Nov 2016 14:41:02 -0300 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
It depends on what you actually do when you "use" the sockets.If you trust your port and driver, then debug your app and do a traffic capture. Is it possible your app is starving the lwIP task as Noam suggests ? Where do your messages get lost ? Are they in the wire ? Do they enter the lwIP stack ? Is your driver priority higher than your task ? Do you have enough memory ? Enough pbufs ? Have you tried enabling stats to see if your driver is dropping frames because of no mem ? What is your application timing, how fast are your messages coming/going ? Do you lose consecutive ones ? Are you testing on a real network with traffic or do you have a one to one wiring ?
[Prev in Thread] | Current Thread | [Next in Thread] |