[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] netconn_write loops
From: |
Christiaan Simons |
Subject: |
RE: [lwip-users] netconn_write loops |
Date: |
Tue, 2 May 2006 17:13:24 +0200 |
Matthew wrote:
> In order for tcp_write() and tcp_output() to successfully complete,
doesn't
> the user code need to call LwIP to check for ACK packets to flush the
data
> out of the tcp_output queue?
When programming the sockets API you're not
going to check for ACK packets....
The socket layer should call the tcp_write(),
tcp_output() and tcp_timers() to handle egress
TCP segments and TCP ACKs from it's tcpip_thread.
When programming the raw-API you're responsible
for calling tcp_write, tcp_output running
the TCP timers at the required intervals.
Bye,
Christiaan.