Re: [lwip-users] lwip 2.0.2 tcp_output() problem

2017-04-05 Thread Simon Goldschmidt
1) You should *never* handle any other pcb than your own! Don't iterate tcp_active_pcbs! 2) You disabled nagle for the first pcb on the list, not necessarily the one you want.   Simon     Gesendet: Mittwoch, 05. April 2017 um 13:30 Uhr Von: Angelus An: lwip-users@nongnu.org Betreff: 

[lwip-users] lwip 2.0.2 tcp_output() problem

2017-04-05 Thread Sergio R. Caprile
I can think of: - your driver - your FreeRTOS priorities/loop (aka your port) - your application not freeing PBUFs properly - not enough PBUFs TCP buffers data when you call tcp_write() and sends when you call tcp_output(). If you follow the code with a debugger you can get up to the point

[lwip-users] lwip 2.0.2 tcp_output() problem

2017-04-05 Thread Angelus
Hello, I hope somebody can help me. I am using lwip 2.0.2 together with freertos 7.0.4. My problem: In my application I immediately have to send many small frames. When I try to send a single frame it is never send. Although I am calling tcp_write() and afterwards tcp_output() the first data