> > I think I found the bug: I'm calling tcp_tmr() every 500 ms, not at 250 ms > > like its supposed to be!
You're right, that was'nt the problem. I realized that from time to time I got some buffer overrun, resulting in packet drop. Now I should concentrate on that. Thanks Francois ----- Original Message ----- From: "Kieran Mansley" <[email protected]> To: "Mailing list for lwIP users" <[email protected]> Sent: Wednesday, September 30, 2009 4:25 AM Subject: Re: [lwip-users] Connection closes with Echoraw demo > On Tue, 2009-09-29 at 10:32 -0400, Francois Bouchard wrote: > > I think I found the bug: I'm calling tcp_tmr() every 500 ms, not at 250 ms > > like its supposed to be! > > I doubt that is the whole of your problem. You're clearly getting > allocation errors from the statistics you show, so I'm guessing there's > a problem for your driver to get packet buffers. It could be that > you've allocated too few of them, or that they are being leaked > somewhere. > > Kieran > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
