[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Throttling incoming TCP in receive callback using raw A
From: |
Mike Kleshov |
Subject: |
Re: [lwip-users] Throttling incoming TCP in receive callback using raw API |
Date: |
Thu, 23 Oct 2008 09:42:57 +0400 |
2008/10/23 Bruce Sutherland <address@hidden>:
> Should I delay calling tcp_recved in the case that the serial ring buffer is
> too full? If so, when will my receive callback be called again? Is there
> some better way to achieve this?
You should look at the echo sample code in
lwip/contrib/ports/unix/proj/minimal/echo.c
I think it is a good example of how to implement flow control on
incoming TCP data.