|
From: | Joel Cunningham |
Subject: | Re: [lwip-users] lwIP delays outgoing TCP packets by up to 500ms |
Date: | Wed, 13 Jul 2016 19:47:59 +0000 (GMT) |
Again, it's probably not be the wrong approach, it's just what I've been told on this thread:Since it worked for me at that moment, I just let it like that, and reading the responses here confirms that it's the correct approach if you don't want to wait for the delay.MihaiOn Wed, Jul 13, 2016 at 5:59 PM, Jakub Schmidtke <address@hidden> wrote:I think you might have missed reading the documentation: tcp_write enqueue data, tcp_outout tries to send it. You always have to call both.
I actually found the recommended call flow on wiki (Here: http://lwip.wikia.com/wiki/Raw/TCP ) after Mihai mentioned using tcp_output().And yes, I haven't fully read the docs/wiki yet, since I am trying to fix existing code written by someone else - who must have missed that...However, Mihai mentions that calling tcp_output() might be the wrong approach... Is it really?Thanks!
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |