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.



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to